Does java support multiple inheritance or not?
What is the current version of java?
Which oo concept is achieved by using overloading and overriding?
What are the uses of final, finally and finalize in java?
2 Answers Agiline, FINO PayTech, HCL,
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 do you mean by composition in java?
Write a program to find maximum and minimum number in array?
How many types of array are there?
Explain, java is compatible with all servers but not all browsers?
What is use of super keyword?
Can I overload to string method
Can singleton class be cloned?
What is string data?