Académique Documents
Professionnel Documents
Culture Documents
Q32) Does java support function overloading, pointers, structures, unions or linked lists?
Q33) What is synchronization and why is it important?
Q34) Why do we need Finally with try? pls expain with ur example.
Q35) How to prevent to create multiple objects of a java class?
Q36) Difference between error and exception
Q37) The following program is Overloading or Overriding? public class PolymorphismEx
{ public int sampleMethod(int a) { return a; } public String sampleMethod(int a) { return "Is it
Overloading or Overriding???"; } }
Q38) System.out & System.in are final static data member of System class but we can change
there reference through setOut() & setIn() method how..
Q39) can we overload main method?If yes how we can do it.
Q40) difference between HashMap, Hashset and hashTable?
Q41) What is the difference between Super and This Keyword?