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

Why is string class considered immutable?

818


What is method reference?

732


Difference between arraylist and hashset in java?

809


When does a class need a virtual destructor?

750


What are selection structures?

746


Is null a string or object in java?

743


What are the object and class classes used for?

800


What is the purpose of file class?

765


How to create a base64 decoder in java8?

795


Explain the different forms of polymorphism?

776


How we can skip finally block of exception even if some exception occurs in the exception block in java?

730


What is a static method in java?

772


Why string is not a wrapper class?

905


Is hashset sorted in java?

875


Name few java.lang classes introduced with java 8 ?

756