-
-
-
Guess the output of the following program
Try to guess without running the program.
cpublic class IntegerClassExampleThree {
public static void main(String[] javalatte) {
Integer i = 400;
Integer j = 400;
if(i==j){
System.out.println("i==j is equal");
}else {
System.out.println("i==j is not equal");
}
}
}
public class IntegerClassExampleFour... -
Determining the order of threads
Q.--" I created five(5) thread instances,say "1","2","3","4","5" and start all of them at the same time,one after the other. The priorities for the threads are same.what should be done so that the threads run concurrently in the same order,i.e1,2,3,4,5(Is there any way at all)"?
-
Synchronization in Java
When We should use Synchronization in Java and when we should not?
-
-
-
-
ToString function
What is the default value for toString() in java? Explain me with an example?
-
MVC architecture
what is the difference between MVC1 & MVC2 in Java?
-
Adding Method in Java
Hi
I have interface in that interface 3 methods are there , after some days client said that,i want to add one more method in that interface ,so how can add 4 method so that the implemented class did not affect,
Thanks
Kalins Naik
-
-
Compare two dates from input box using javascript
How to compare two dates from input box using javascript?
-
How Treeset implementation maintains unique elements in it?
How an Treeset maintains the unique element? Which algorithm does it use?
What is the advantages over doing the same using the Arraylist manually? -
Inner Class
Can we decalre java inner class as private and protected?
If yes....please explain
If No....please explain -
Platform Independence
Why platform independence is needed in real world ?
-
JVM uses which one of these to save hashcode,Hashtable or HashMap or HashSet??
Please answer my question....
-
Is it possible to override the main method in Java?
If yes then how?
-
-
Search text from file in directories
Efficient way to find word from file in directory?
However directory contains huge number of files
Core Java Interview Questions
Ans