Results 1 to 4 of 4
Thread: What is the class Object?
- 12-03-2010, 12:05 AM #1
Member
- Join Date
- Dec 2010
- Posts
- 10
- Rep Power
- 0
- 12-03-2010, 12:12 AM #2
Member
- Join Date
- Sep 2010
- Location
- Oregon, usa
- Posts
- 69
- Rep Power
- 0
Search engines are your friend! :)
Object (Java Platform SE 6)
You can do a quick search of any java "object" and view its hierarchy: for example searching "java String" will give you this link: String (Java Platform SE 6)
Hope this helps! :)
Chris:cool: It's all here: http://download.oracle.com/javase/6/docs/api/
- 12-03-2010, 12:32 AM #3
Member
- Join Date
- Dec 2010
- Posts
- 10
- Rep Power
- 0
You bet it helps. Thank you very much, Chris.
I know. I found this forum through Google. :)
So I now understand that every class has Object as a base class. This is great but I noticed that Object has several wait() methods, which means every class have these methods?
If so, why would a String class need a wait() method?
If this is part of an entire concept or design philosophy in which even a basic type needs to control program/thread execution, where do I learn more about this?
- 12-06-2010, 04:58 PM #4
Member
- Join Date
- Sep 2010
- Location
- Oregon, usa
- Posts
- 69
- Rep Power
- 0
If you're still looking for answers about the Object Class, a book that has been mentioned on here (I can't remember who posted it) is an O'Reilly book called Head First Java. It starts to explain about the Object class in chapter 8 Interfaces and Polymorphism.
:):cool: It's all here: http://download.oracle.com/javase/6/docs/api/
Similar Threads
-
Create object of unknown class, based on existing object
By Zack in forum New To JavaReplies: 2Last Post: 06-22-2010, 04:29 AM -
how to get object from another class
By robertbob in forum New To JavaReplies: 3Last Post: 05-24-2010, 12:21 AM -
add object to ArrayList (object is from extends other class)
By mBull in forum Java AppletsReplies: 3Last Post: 03-15-2010, 08:44 PM -
Getting name of object class
By Java Tip in forum Java TipReplies: 0Last Post: 11-05-2007, 05:22 PM -
Creating object of Type Object class
By venkatv in forum New To JavaReplies: 3Last Post: 07-17-2007, 03:33 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks