Search Interview Questions
| 3335 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers for 'Covansys' - 1 question(s) found - Order By Newest|
|Ans. System is a class within java.lang package that contains several useful class fields and methods. It cannot be instantiated and hence can use only statically.even in this case this has been used statically i.e with class name itself and without creating an instance.|
out is the static reference of Printstream declared as following in the System Class -
public final static PrintStream out = null;
println is the method of PrintStream class.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  System class  Streams  Input Output  println Asked in 1 Companies basic   frequent|
|What is the difference between time slicing and preemptive scheduling ?|
|What is a Deadlock ?|
|What are various types of Class loaders used by JVM ?|
|Difference between Process and Thread ?|
|What are the difference between Threads and Processes ?|
|Why threads block or enters to waiting state on I/O?|
|What is the difference between yield() and sleep()?|
|What is the initial state of a thread when it is created and started?|
|What is suspend() method used for ?|