ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
تاريخ النشر: 2014/01/13
Pavithra Rani Chamarthi
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة