logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Which method names follow the JavaBeans standard?


  • Options
  • A. addSize
  • B. putDimensions
  • C. getCust
  • D. deleteRep

  • Correct Answer
  • getCust 

    Explanation

    C use the valid prefixes 'get' and 'is


  • Technology problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. Which of the following is not the other name of attriibute?

    • Options
    • A. Data member
    • B. Instance variable
    • C. instance
    • D. Data filed
    • Discuss
    • 4. There is one default constructor in every class.

    • Options
    • A. The above statement is true
    • B. The above statement is false
    • C. Both true and false
    • D. None
    • Discuss
    • 5. Client code having direct access to internal data is called

    • Options
    • A. Encapsulation
    • B. DataHiding
    • C. Polymorphism
    • D. DataAbstraction
    • Discuss
    • 6. What is the difference between throw and throws clause?
    • Discuss
    • 7. What are the various elements of OOPS?
    • Discuss
    • 8. A lock can be acquired on a class. The above statement is

    • Options
    • A. True
    • B. False
    • C. Both A and B
    • D. None
    • Discuss
    • 9. 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
    • 10. How many types of classes are there in Java?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment