Answer Posted / amit kumar
A class within another class is known as nested class. There
are two type of nested class static nested class and non
static nested class.The static nested class did'nt access
its enclosed member function directly, where an non static
nested class can directly access. the non static nested
class is known as inner class. There are 4 type of nestated
class they are Nested top-level classes, Member classes,
Local classes, Anonymous classes....
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What does += mean in java?
Why does java have two ways to create child threads?
what is the difference between Object Based Language and Object Oriented Language?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is comparable and comparator interface? List their differences
What is the use of parseint in java?
What is the use of volatile in java?
Does list allow duplicates in java?
What are the two basic ways in which classes that can be run as threads may be defined?
What are the advantages of encapsulation in java?
What is super in java?
Why are there no global variables in java?
What is assembly used for?
What are the types of methods in java?
What is a numeric digit?