logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How many types of classes are there in Java?


  • Correct Answer
  • Two types of classes: 1) Top Level Class 2) Classes within Class i) member classes a) static member class b) non static member class ii) local classes iii) anonymous classes 


  • Technology problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. What are the various elements of OOPS?
    • Discuss
    • 4. What is the difference between throw and throws clause?
    • Discuss
    • 5. Which method names follow the JavaBeans standard?

    • Options
    • A. addSize
    • B. putDimensions
    • C. getCust
    • D. deleteRep
    • Discuss
    • 6. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
    • Discuss
    • 7. What is Overloading Polymorphism?
    • Discuss
    • 8. 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
    • 9. What is JAR file?
    • Discuss
    • 10. What is polymorphism?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment