Java Objective Questions Answers -Chapter 1

  • 43. Which class cannot be a subclass in java


    1. abstract class
    2. parent class
    3. Final class
    4. None of above
    Answer :

    Option C

  • 44. How many transaction isolation levels are defined in java.sql.Connection interface

    1. 4
    2. 3
    3. 5
    4. 2
    Answer :

    Option C

  • 45. Which command is used for interpretation of java program

    1. Java
    2. javac
    3. javap
    4. none of above
    Answer :

    Option C

  • 46. Which of the following below are valid isolation levels in J2EE

    1. TRANSACTION_READ_UNCOMMITTED
    2. TRANSACTION_SERIALIZABLE
    3. Only A
    4. Both A and B
    Answer :

    Option D

  • 47. Which keyword is used while using interface

    1. extend
    2. implements
    3. throw
    4. throws
    Answer :

    Option B

  • 48. Super is the predefined

    1. Keyword
    2. Method
    3. Keyword and Method
    4. None of above
    5. Analytical
    6. Anger
    7. Frustrated
    8. Optomistic
    Answer :

    Option E

  • 49. Minimum threads in a program are

    1. 1
    2. 2
    3. 5
    4. Many
    5. a tax evader who uses deceptive accounting practices to hide her income from auditors
    6. an embezzler who steals from her company by pilfering small amounts of money over a long period of time
    7. a criminal who argues that it is not he but one of his accomplices who is guilty of a crime
    8. a con artist who convinces his victim that it is in the victim’s best interest to help him
    Answer :

    Option

Please Like Us

disawar satta king