Java Basic
-  Which of the following is not an Enterprise Beans type?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: CStateful, Stateless and Singleton are session beans. 
-  What does Liskov substitution principle specify?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: BLiskov substitution principle states that Objects in a program should be replaceable with instances of their sub types without altering the correctness of that program. 
-  What should the return type of method where there is no return value?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: AReturning Empty collection is a good practice. It eliminates chances of unhandled null pointer exceptions. 
-  Which of the following is not an advantage of Hibernate Criteria API?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: DaddOrder() can be used for ordering the results. 
-  In which file database table configuration is stored?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: ADatabase table configuration is stored in .hbm file. 
 
	