Why cant we define System.out.println() inside a class
directly?
Answer Posted / madhu
we can override only class methods and we can't override the
output Stream methods.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the protected method modifier?
What is the exact difference in between Unicast and Multicast object?
What is classpath?
What is use of static method?
What is byte data type?
What is the use of using enum to declare a constant?
What is static block?
Can list be final in java?
Using callable statement how can you pass out parameters, explain with example?
What is the difference between the prefix and postfix forms of the ++ operator?
Can a string be null?
What is diamond operator in java?
When does an object becomes eligible for garbage collection in java?
How does indexof work?
Which package is used for pattern matching with regular expressions?