Passion of IT

Daily archives for March 7th, 2015

Java 1.8 What’s new

java8
Interface with default method public interface InterfaceDefault { default void foo(){ System.out.println("Calling A.foo()"); }   array parallel sort int[] myArray=new int [10]; for (int i=0;i<10;i++) myArray[i]= (int) (Math.random()*100); Arrays.parallelSort(myArray); lambda expressions Runnable java8Runner = [...]

Java 1.7 what’s new

java7
Auto closing of Elements in try block </span> try (BufferedReader br = new BufferedReader(new FileReader(FILE_NAME));) { System.out.print(br.readLine()); } } New Input Output type   Path path = Paths.get(FILE_NAME); boolean exists = Files.exists(path); boolean isDirectory = Files.isDirectory(path); boolean [...]

Multithreading

multithreading
Multithreading software is made of many threads.  When executing a program this makes a process which is executed by the CPU. Process: an instance of the execution of a program with its CPU context (registers, stack and so on), with its RAM memory (variables, instructions), and with its resources (input devices, output devices, file system et [...]

Recent Comments

Michele Rizzithe website doesn't exist. Ara you a robot? In any case it's difficult that an automatic system writes a comment here since there are two captchas...
Hello there! This is kind of off topic but I need some guidance from an established blog. Is it very hard to set up your own blog? I'm not very t...
We are a group of volunteers and opening a new scheme in our community. Your web site offered us with valuable information to work on. You've done a...
March 2015
M T W T F S S
« Feb   Jun »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Login