Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

all methods of object class

 
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 ==.
 
Ranch Hand
Posts: 859
IBM DB2 Chrome 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
 
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
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • 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 ]
 
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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic