Answer Posted / kishor kommula
Every class by default extends Object.
Object class consist of various methods such as
clone,toString,getClass,finalize,notify,wait etc..
If you want to print your own object to the console you
must override the toString method...
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how to open and edit XML file in Weblogic???
Highest level event class of the event-delegation model?
Explain Basics of OOP Language in java
How do I run java on windows?
What are the benefits of immutable objects?
What is an array in java?
Is list thread safe in java?
What is the difference between private & public & friendly classes?
What do you mean by synchronized non access modifier?
How to sort double array in java?
Can we have any code between try and finally blocks?
What is array initialization in java?
What are the steps involved to write rmi based programs?
How do generics work?
Differentiate between class and structure.