objects in java

how many types of objects in java and what are they?

Page 1 of 1

3 Replies - 1867 Views - Last Post: 03 July 2008 - 03:15 PM Rate Topic: -----

#1 gvnreddy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 03-July 08

objects in java

Post icon  Posted 03 July 2008 - 01:56 AM

hi send to the answer to how many types of objects in java and what are they?
Is This A Good Question/Topic? 0
  • +

Replies To: objects in java

#2 Programmist   User is offline

  • Refactorer in Chief
  • member icon

Reputation: 256
  • View blog
  • Posts: 1,843
  • Joined: 02-January 06

Re: objects in java

Posted 03 July 2008 - 02:51 AM

Why don't you count them and tell us.
http://java.sun.com/.../api/index.html
Was This Post Helpful? 0
  • +
  • -

#3 JeroenFM   User is offline

  • D.I.C Head
  • member icon

Reputation: 18
  • View blog
  • Posts: 195
  • Joined: 30-June 08

Re: objects in java

Posted 03 July 2008 - 04:10 AM

View Postgvnreddy, on 3 Jul, 2008 - 01:56 AM, said:

hi send to the answer to how many types of objects in java and what are they?


Exactly 1, namely java.lang.Object

Every single object in Java you will ever encounter is of this type

(Edit: one could argue enums as a separate type of object)

This post has been edited by JeroenFM: 03 July 2008 - 04:13 AM

Was This Post Helpful? 0
  • +
  • -

#4 pbl   User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8381
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: objects in java

Posted 03 July 2008 - 03:15 PM

View PostJeroenFM, on 3 Jul, 2008 - 04:10 AM, said:

View Postgvnreddy, on 3 Jul, 2008 - 01:56 AM, said:

hi send to the answer to how many types of objects in java and what are they?


Exactly 1, namely java.lang.Object

Every single object in Java you will ever encounter is of this type


LOL !!! JerownFM you are God dammed right :^: :^: :^:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1