Can a class have multiple subclasses?
No Answer is Posted For this Question
Be the First to Post Answer
How to disable caching on back button of the browser?
What is empty string literal in java?
Define Wrapper Classes in Java.
Can we serialize static variables in java?
What is the entry point in Java, and how is it written?
What are the advantages of exception handling?
why interfaces are faster than abstract classes?
Is char a method in java?
long d =10;int i =0;i=d; /// is this possible? If d is very long number (10 digits or some thing) then?
How do you use equal in java?
Explain the different forms of polymorphism?
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); } }