Can we override tostring method in java?
No Answer is Posted For this Question
Be the First to Post Answer
When will we use class loader?
What does this () mean in java?
What is OOPs & Why?
What is a ternary operator 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); } }
Explain different forms of polymorphism?
What modifiers may be used with a top-level class?
What is meant by final class, methods and variables?
What is an anonymous class in java?
What is type conversion in java?
What is run time allocation?
What is light weight component?