Why are inner classes required?

Answer Posted / mohammad aleemuddin

Inner classes are mainly used to encapsulate the data

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array and arraylist in java?

535


What are the differences between forwarding () method and sendredirect() methods?

627


What is sleep method?

623


What is jvm? How its run?

666


Can java program run without jre?

575






What is a buffer in java?

577


What is meant by method?

582


What are 4 pillers of object orinted programming?

587


What is lastindexof in java?

554


What invokes a thread's run() method in java programming?

573


How many bytes is a string in java?

535


What is fail fast in java?

576


What does n mean?

523


What happens if main method is not static?

501


What is the major advantage of external iteration over internal iteration?

619