Is set sorted in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can finally block be used without a catch?
What is difference between overloading and overriding in java?
How can you debug the Java code?
What is application tier?
what is a green thread? : Java thread
Can we overload run() method in java?
Is null function in java?
What are the types of java?
wahts is mean by thread?
22 Answers HCL, TCS,
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); } }
how can u apply shallow cloning and deep cloning to create object?
What is the final method?