Is it necessary to declare an inner class private?If it is then plz specify the reason why is it necessary to declare an inner class private?
Parsu7
-1
Light Poster
Recommended Answers
Jump to Postan inner class can have any modifier (eg public, private etc)
http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html
All 4 Replies
majestic0110
187
Nearly a Posting Virtuoso
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
madhusamala
0
Newbie Poster
jwenting
1,889
duckman
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.