Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the use of System class in java?Can we override system class?

user-image
Question added by Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date Posted: 2014/01/13
Pavithra Rani Chamarthi
by Pavithra Rani Chamarthi , assistant project , MATRIX TECHNOLOGIES

1...It is generally used when two packages have same class name..   E.g...e java.util....a packge namd java that contains many classes like system, string, reader...

Hatim Laxmidhar
by Hatim Laxmidhar , Self Employed , The Way It Works

 

 

  The System class provides various utitliy methods and objects. e.g. 1) standard input/output 2) you can access all system properties and environment variables 3) You can load files and libraries 4) You can opcy an array.

 

No it can not be overridden, as it is a final class.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.