Can we have two methods in a class with the same name?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by exception handling in Java?
What is meant by 'bit masking' in java?
Is string pool garbage collected?
What collections you have worked on? Internal working of Hashmap?
Is namespace same as package in java?
What is 16 bits called?
Is this valid in java ? Can we instantiate interface in java?
why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?
2 Answers Global Logic, Satyam,
Is 0 an even number?
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); } }
How does abstract modifier work?
Can a private method be declared as static?