Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
No Answer is Posted For this Question
Be the First to Post Answer
What is string builder?
Difference between the paint() and repaint() methods?
Is hashmap thread safe?
How do you include a string in java?
How do you download stubs from Remote place?
What are the kinds of polymorphism?
what is session in java?
0 Answers Seventhsense Technologies,
Is there any difference between nested classes and inner classes?
What does arrays sort do 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); } }
Why java is made?
Is hashset ordered java?