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
How to check if a list is sorted in java?
What about anonymous inner classes in java?
Explain with example the concept of constant variable in java.
Why do we use threads in java?
What is the difference between sleep and wait in java?
What are the concepts of 'OOPS'?
What are the differences between throw and throws?
Which class should you use to obtain design information about an object in java programming?
What are the new features in java 8? Explain
What is arraylist e in java?
Can we execute a program without main?
What's the access scope of protected access specifier?
Can substring create new object?
What is a variable declaration?
What is the difference between super class & sub class?