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.