What does nextint () do in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can you write a java class that could be used both as an applet as well as an application?
Explain when classnotfoundexception will be raised ?
In which language JVM (Java Virtual Machine) is implemented
Why main method is static in java?
What does exclamation mean in java?
How an object is serialized in java?
What is serializable interface?
13 Answers Infosys, Probity Soft, Seed Infotech,
What is thread safe in java?
Can you add null to a list java?
can we access the super class method using subclass object?
Which package has light weight components?
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); } }