• Post Reply Bookmark Topic Watch Topic
  • New Topic

all methods of object class  RSS feed

 
vinayGuddu Pandey
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,Can anyone tell me the method with basics example of object class.and where I can use it.and please give detail about equal(Object obj) and ==.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ummm,

I think you need to start reading. No one here is going to give you that information.

Why not use Eclipse and the auto-fill feature to see what methods are available and go through them.

The .equals vs. "==" issue has been discussed many, many times here.

WP
 
Matthew Brown
Bartender
Posts: 4568
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or have a look at the API documentation: java.lang.Object
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William P O'Sullivan wrote:
Why not use Eclipse and the auto-fill feature to see what methods are available and go through them.

Yes, but you may miss some method(s) there ...

[nitpick though ]
 
Ankush Kaundal
Ranch Hand
Posts: 36
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vinayGuddu Pandey wrote:Hi,Can anyone tell me the method with basics example of object class.and where I can use it.and please give detail about equal(Object obj) and ==.


I will suggest to refer to the API if in case you need to know anything about the java packages or classes as they will always give you the correct description. In fact create your local copy of the API documentation using the javadoc and try to refer to it regularly, you will definitely gain a lot.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!