How do you add an element to a set in java?
No Answer is Posted For this Question
Be the First to Post Answer
What are the main uses of this keyword?
What is difference between throw and throws ?
What does jre stand for?
What is the range of the char type?
When we give defination of interface method in the class why method must be public???
Can memory leak happen java?
what is webservices?
What is heterogeneous in java?
Is a copy constructor?
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); } }
What is Interface?
What is an interface in java? Explain