logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • A lock can be acquired on a class. The above statement is


  • Options
  • A. True
  • B. False
  • C. Both A and B
  • D. None

  • Correct Answer
  • True 

    Explanation

    A lock can be acquired on a class. This lock is acquired on the class's Class object.


  • Technology problems


    Search Results


    • 1. What are the various elements of OOPS?
    • Discuss
    • 2. What is the difference between throw and throws clause?
    • Discuss
    • 3. Which method names follow the JavaBeans standard?

    • Options
    • A. addSize
    • B. putDimensions
    • C. getCust
    • D. deleteRep
    • Discuss
    • 4. Which key word is to be used to tell the JVM to skip the variable while performing the serialization process of the object containing it?

    • Options
    • A. Transcient
    • B. Volatile
    • C. Static
    • D. Final
    • Discuss
    • 5. In a single virtual machine, the Java programming language passes arguments by

    • Options
    • A. Refference
    • B. Value
    • C. Both A and B
    • D. None
    • Discuss
    • 6. Which of the following modifiers can be used with Local inner class?

    • Options
    • A. Final or Abstract
    • B. Final or Transcient
    • C. Abstract or Transcient
    • D. Final or public
    • Discuss
    • 7. How many types of classes are there in Java?
    • Discuss
    • 8. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
    • Discuss
    • 9. What is Overloading Polymorphism?
    • Discuss
    • 10. In RDBMS, what is the efficient data structure used in the internal storage representation?

    • Options
    • A. Stack
    • B. Queue
    • C. B+ tree structure
    • D. AVL tree Structure
    • Discuss


    Comments

    There are no comments.

Enter a new Comment