This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi Everyone, Can any one explain me what are the non-system Classes and system Classes.
While writing Dan's mock exam on Assertions, i found this question,
Which of the following are command-line switches used to enable assertions in non-system classes? a. -ea b. -ae c. -aon d. -aoff e. -enableassertions f. -assertionsenable g. -assertionson h. -assertionsoff
"System" classes are those provided by Sun as part of the jdk or jre distribution. Those classes may have assertions in them. Normally they are disabled. If you were having a problem with one of these classes then you could enable system assertions to possibly better see where the problem lies. The term could also relate to assertions within the JVM itself.
"Non-System" classes are the classes you, the developer, write.