Why use string handling in Java?
Can we have 2 main methods in java class?
What is the generic function?
What is application tier?
What is the difference between Integer and int?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is serializable interface?
13 Answers Infosys, Probity Soft, Seed Infotech,
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 the relationship between class and object?
What is the exact difference in between unicast and multicast object? Where we will use?
What is communist flag?
Explain what are final variable in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1