What are basic data types?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between panel and frame ?
7 Answers HCL, IBM, Raim Techno Solutions,
How do you check if a character in a string is a digit or letter?
What is variable argument in java?
What are the rules for naming an array?
What does it mean to be immutable?
how to create multithreaded program? : Java thread
What is meant by collection in java?
Can we return null in java?
What is the benefit of abstract class?
What is sortedmap in java?
What is starvation?
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); } }