2 votes 2 votes It is possible to define a class within a class termed as nested class. There are __ types of nested classes 2 3 4 5 Object Oriented Programming ugcnetcse-june2016-paper3 object-oriented-programming java + – go_editor asked Aug 20, 2016 • recategorized Nov 5, 2017 by Devshree Dubey go_editor 3.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes ans should be C There are four kinds of nested class in Java. In brief, they are: static class: declared as a static member of another class inner class: declared as an instance member of another class local inner class: declared inside an instance method of another class anonymous inner class: like a local inner class, but written as an expression which returns a one-off object Refer http://stackoverflow.com/questions/70324/java-inner-class-and-static-nested-class Sanjay Sharma answered Aug 20, 2016 Sanjay Sharma comment Share Follow See 1 comment See all 1 1 comment reply abhinav kumar commented Jun 6, 2020 reply Follow Share There are two types of nested classes in Java(Static and Non Static) in whole ..Sir you have narrowed down to a deeper level of categorizing Static and Non static Classes Static Non Static 0 votes 0 votes Please log in or register to add a comment.