Ask Question

What are different types of inner classes?

+4
Answers (1)
  1. 30 November, 06:30
    0
    Inner class in Java is basically a class in a class, i. e. a member of another class.

    There are 4 types of inner classes in Java.

    a) Nested Inner class

    b) Method local Inner class

    c) Anonymous Inner class

    d) Static nested class
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What are different types of inner classes? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers