What is adapter in java?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between private, public, package and protected in java?
Differentiate between the constructors and methods in java?
How variables are declared?
What initialize variables?
What modifiers may be used with a top-level class?
What is Java Classloader?
1 Answers Phantom Technologies,
Can we rethrow the same exception from catch handler?
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); } }
extending thread class or implementing runnable interface. Which is better? : Java thread
What is the purpose of using javap?
how to handle http request in struts
What is the difference between abstract class and interface?