why we are using public word before main function
ganeshtr24
0
Newbie Poster
Recommended Answers
Jump to PostSo it can be accessed from outside its own package. See
http://download.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html
All 2 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Muralidharan.E
14
Junior Poster in Training
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.