Why cant we define System.out.println() inside a class
directly?
Answer Posted / shahid
because println method is not abstract method it is method
of output stream class so we cant override.and it is just
overloded method.
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is java life cycle?
How many bytes is double?
What do you understand by the term polymorphism?
What is the collection interface?
Whats the difference between notify() and notifyall()?
Where are the local variables stored?
Does constructor creates the object ?
What is garbage collector?
Define how destructors are defined in java?
Which of the following classes will have more memory allocated?
What is bufferedwriter?
What is java command?
Write a program to print all permutations of string?
What is not thread safe?
What is definition and declaration?