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

when you will synchronize a piece of your code? : Java thread

768


How do I compare two strings in word in java?

760


Can an interface have a constructor?

733


What is the difference between instanceof and isinstance?

775


What is thread life cycle in java?

828


What is entry in java?

812


What are the java ide's? Explain

752


What is the difference between a switch statement and an if statement?

781


What is your platform?s default character encoding and how to know this?

2024


Give a brief description of java socket programming?

762


What is dynamic binding(late binding)?

814


What is the difference between stringbuffer and stringbuilder?

781


How to sort an array from smallest to largest java?

799


What are implicit objects in java?

762


How to optimize the javac output?

815