Nested classes VS Inner classes?

Answer Posted / balakrishna

A class consist of another class is called "Nested Class"
but in main method if we consist of classes it is
called "Inner Classes"

Is This Answer Correct ?    0 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a wrapper method?

533


What is the symbol for space?

558


how can i use a nonsynchronized hashtable?

2100


What is the difference between Array and Hash Table?

541


what do you mean by stream pipelining in java 8? Explain

533






What is difference between checked and unchecked exception in java?

576


What is a private class in java?

506


Is a class subclass of itself?

602


What are pass by reference and pass by value?

527


Which is fastest collection in java?

559


Can we extend singleton class in java?

543


What is e java?

554


Can we define constructor in inner class?

537


What is a void method java?

516


Why charat is used in java?

540