What do you mean by jjs in java8?
No Answer is Posted For this Question
Be the First to Post Answer
strings in java are objects.why?
What is the use of arraylist in java?
How do you reverse sort a list in java?
what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?
What is the use of hashmap in java?
What is difference between class and object in java?
Why java is object oriented?
difference between vectorlist and hash
Can a private method be declared as static?
Can variables be used in java without initialization?
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); } }
Where will it be used?