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
Can a class be defined inside an interface?
what is object slice?
What is the synonym of framework?
What is the difference between Error, defect,fault, failure and mistake?
Is boolean a wrapper class in java?
What is nullpointerexception in java?
Why is core java important?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is hashmap and map?
Can we override the static method?
Is a class an object?
How can we find the sum of two linked lists using stack in java?
What are the important features of Java 9 release?
Is arraylist zero based?
Write a java program for binary search?