State the main difference between c++ and java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between processes and threads?
how and when compiler knows that the Java code throws the checked Exception.
Can long be null in java?
What is the difference between Synchronizing mehtod & Synchronizing block?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
what type of questions asked for barclays technologies pune please send urgent
Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.
why pointer is not used in java?
Explain about the interpreter in java?
Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify
what is the JNDI?
Explain yield() method in thread class ?