explain System.out.println()

Answer Posted / vijay

System is a class,its a final class.out is a static object of PrintStream.println() is a method in PrintStream.We can,t directly call the Out object thats why we use System class


System.out.println()

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does substring create a new object?

526


Can a constructor call another constructor?

561


How to connect to a remote database using Applet?

2040


Can we have more than one package statement in source file ?

587


What are different data types?

564






How does the java compiler work?

527


Why collection is called framework in java?

538


What is floor math?

511


Can we use different return types for methods when overridden?

554


Why there is no call by reference in java?

492


What is a string token?

532


What is a ternary operator in java? What is an interface?

548


What is thread life cycle?

535


Can we declare a constructor as final?

676


When does an object becomes eligible for garbage collection in java?

573