What is treeset and treemap in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is parameter example?
Can we catch more than one exception in a single catch block?
class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?
How can constructor chaining be done using this keyword?
Explain the importance of throws keyword in java?
Name the runtime exceptions that occurs frequently?
How many types of java are there?
Why map is used in java?
Describe the Big-O Notation.
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 not 100% object-oriented?
What is difference between add() and addelement() in vector?