Difference between vector and arraylist.
No Answer is Posted For this Question
Be the First to Post Answer
What is jvm? How its run?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
What is java life cycle?
Explain aggregation in java?
What is the use of singleton class?
Explain how to convert any java object into byte array.
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
what is difference between prepare stetement and callable starement with example?
When do we use hashset over treeset?
How will you load a specific locale?
What is purpose of find feature?
What is the default execution method in java?