does java support pointers?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between menuitem and checkboxmenu item?
what is polymorphism?
What is off heap memory?
How can we achieve IPC in JAVA?
What is string :: npos?
What is unicode with example?
What is the difference between sleep and wait in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
What methodology can be employed to locate substrings inside a string?
Can interface be private in java?
What is the advantage of OOP in java?
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); } }