Even though I have done bit of coding in java, I'm still finding it hard to understand this basic concept. When I was going through a book I came across this line,
main( )must be declared aspublic, since it must be called by code outside of its class when the program is started.
What does the author mean by saying code outside of its class?