explain System.out.println

Answer Posted / nilesh

There is a class called System.

It has a static member attribute called "out", which is of
type PrintStream.

PrintStream provides a method called "println", which is
what you're calling.

Is This Answer Correct ?    69 Yes 41 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you instantiate the math class in Java?

601


Can we create an object of private class?

541


How does hashset works in java?

524


What is boolean flag in java?

568


Which keyword specify that a variable is effectively final ?

555






What is the difference between hashmap and hashtable? What is an interface?

494


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

577


Can we split string with in java?

525


Why java uses the concept of the string literal?

541


What is exception propagation?

583


What is difference between fail-fast and fail-safe?

580


How do you check if two strings are equal in java?

574


How do you sort in ascending order in java?

514


How can you read content from file in java?

591


How an object is serialized in java?

522