Q1. Explain two main differences in List and Set.
Q2: Which Collection permits null values, HashMap or Hashtable.
Answer:
Q3: What is the super class of java.lang.Exception
Answer:
Q4: How to achieve Runtime Polymorphism in Java
Answer:
Q5: When you call Thread.start() method on the thread object, which state the thread will go in first.
Answer:
Q6: Is JVM platform independent?
Answer:
Q7: What are the methods of Object class
Answer:
Q8: How do you prevent a member variable in any object from getting serialized?
Answer:
Q9: Can two threads execute two different Synchronized methods of an object at the same time?
Answer:
Q10: Can you add objects to an ArrayList which has been declared as final.
Answer:
Q11: Can you call one constructor from another?
Answer:
Q12: Inheritance in java expresses which relationship?
Answer:
Q13: Can you extend from two classes?
Answer:
Q14: What is anonymous class?
Answer:
Q15: Can there be an abstract class with none of its methods declared as abstract?
Answer:
Q16: Can abstract class have constructor?
Answer:
Q17: Are static variables - instance variables or class variables?
Answer:
Q17: When you invoke run() method on instance of Thread class, will it start thread?
Answer:
Q18: The command to eliminate a table from a database is:
Answer:
Q19: The result of a SQL SELECT statement is a(n)
Answer:
Q20: Which of the following is valid SQL for an Index?
Answer:
No comments:
Post a Comment