-
ToString function
What is the default value for toString() in java? Explain me with an example?
-
-
-
-
Synchronization in Java
When We should use Synchronization in Java and when we should not?
-
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)"?
-
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... -
-
-
Why Map is not include in Collection in Java?
Means, Map is a pert of Collection framework but not included in Collection....only List, Set and Queue are included ....Why?
-
Generating ppt through java
I am trying to generate ppt through Java using Apache POI API. I am able to create table, bulleted text etc using this API. Please answer the following two questions, if anyone is aware of this. 1. How to split text across two slides, if the row had to be broken across 2 slides because the row is so big that it can only be accommodated in 2 slide ? 2. How to re-size table cell , if the text...
-
-
-
-
-
Collections
What is the difference b/w 2d array and hashmap?Where we have to use this?Explain ?
Thanks in advance -
-
-
How switch from new tab to old tab ?
How switch from new tab to old tab and is this possible to use Applet and Swings in selenium?
-
Core Java Interview Questions
Ans