Java Objective Questions Answers -Chapter 1
-
43. Which class cannot be a subclass in java
- abstract class
- parent class
- Final class
- None of above
Answer :
Option C
-
44. How many transaction isolation levels are defined in java.sql.Connection interface
- 4
- 3
- 5
- 2
Answer :
Option C
-
45. Which command is used for interpretation of java program
- Java
- javac
- javap
- none of above
Answer :
Option C
-
46. Which of the following below are valid isolation levels in J2EE
- TRANSACTION_READ_UNCOMMITTED
- TRANSACTION_SERIALIZABLE
- Only A
- Both A and B
Answer :
Option D
-
47. Which keyword is used while using interface
- extend
- implements
- throw
- throws
Answer :
Option B
-
48. Super is the predefined
- Keyword
- Method
- Keyword and Method
- None of above
- Analytical
- Anger
- Frustrated
- Optomistic
Answer :
Option E
-
49. Minimum threads in a program are
- 1
- 2
- 5
- Many
- a tax evader who uses deceptive accounting practices to hide her income from auditors
- an embezzler who steals from her company by pilfering small amounts of money over a long period of time
- a criminal who argues that it is not he but one of his accomplices who is guilty of a crime
- a con artist who convinces his victim that it is in the victim’s best interest to help him
Answer :
Option