logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • 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

  • Correct Answer
  • The above statement is true 

    Explanation

    There will always be a default constructor in every class 


  • Technology problems


    Search Results


    • 1. Client code having direct access to internal data is called

    • Options
    • A. Encapsulation
    • B. DataHiding
    • C. Polymorphism
    • D. DataAbstraction
    • Discuss
    • 2. An algorithm written once which can be used in many places is called

    • Options
    • A. Block
    • B. Function
    • C. Datatype
    • D. None
    • Discuss
    • 3. What are the 3main tasks of JVM?
    • Discuss
    • 4. By whom will the unallocated memory that is no longer needed will be cleared in java?

    • Options
    • A. Java Virtual Machine
    • B. Garebage collector
    • C. Both A and B
    • D. None
    • Discuss
    • 5. Keeping the actoins and attributes together under a single unit is called

    • Options
    • A. Encapsulation
    • B. Information Hiding
    • C. Polymorphism
    • D. Inheritance
    • Discuss
    • 6. Which of the following is not the other name of attriibute?

    • Options
    • A. Data member
    • B. Instance variable
    • C. instance
    • D. Data filed
    • Discuss
    • 7. 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
    • 8. 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
    • 9. Which method names follow the JavaBeans standard?

    • Options
    • A. addSize
    • B. putDimensions
    • C. getCust
    • D. deleteRep
    • Discuss
    • 10. What is the difference between throw and throws clause?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment