logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is anonymous class?


  • Correct Answer
  • Anonymous class is class without name EX: class A { } class Demo { A r = new A() { }; //anonymous class } 


  • Technology problems


    Search Results


    • 1. What is local class?
    • Discuss
    • 2. what is non-static member class?
    • Discuss
    • 3. What is static member class?
    • Discuss
    • 4. What is top level class?
    • Discuss
    • 5. What is the purpose of the wait(), notify(), and notifyAll() methods ?
    • Discuss
    • 6. What is the syntax to create the object?
    • Discuss
    • 7. How to assign address to the reference?
    • Discuss
    • 8. Why static method can not call non static method of the same class?
    • Discuss
    • 9. What is stored in the 'this' reference?
    • Discuss
    • 10. When this. non-static datamember is compulsory inside non-static method
    • Discuss


    Comments

    There are no comments.

Enter a new Comment