File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes system Classes and non-system Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "system Classes and non-system Classes" Watch "system Classes and non-system Classes" New topic

system Classes and non-system Classes

Vishnu Munnangi
Ranch Hand

Joined: Sep 28, 2004
Posts: 114
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

Thanks in Advance.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
"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.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: system Classes and non-system Classes
It's not a secret anymore!