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
How many arguments can be passed to main ()?
How do I remove a character from a string in java?
Tell me are there implementations for sorting and searching in the java libarary?
What is difference between protected and private?
Is passing by reference faster?
Which is faster set or list in java?
What is the difference between private & public & friendly classes?
Explain the difference between transient and volatile in java?
What is a two-pass assembler?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
Is a boolean 1 bit?
How do you reverse a list?
What is java abstraction with example?
Why does java not support operator overloading?
Differentiate between a class and an object.