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 restrictions are placed on method overloading in java programming?
How is garbage collection controlled?
Is it possible for a yielded thread to get chance for its execution again?
Can we change the value of static variable?
What is better - 'bit-shift a value' or 'multiply by 2'?
List two java ide’s?
What will be the initial value of an object reference which is defined as an instance variable?
Why is multiple inheritance not supported in java?
What is difference between static and final?
What are the kinds of polymorphism?
Which class is the superclass of all classes?
Which is dependent variable?
Can we override static methods in java?
what is meant by encapsulation?
What is the use of parse function in java?