This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java" Watch "java" New topic
Author

java

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
May be its very simple question , but still I want to know why everything in java is object ?

Thanks ,
Satya
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

It isn't. Primitives are not objects

And please choose better subjects than simply "java". Thanks.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
vinayak jog
Ranch Hand

Joined: Apr 01, 2011
Posts: 81

Because java is object oriented language and every thing represented in objects, close to real world, this helps us to solve real world problems.
Even for primitive data types we have object representations (Wrapper classes).
 
 
subject: java
 
Similar Threads
zipping as self extracting exe
J2EE
class
WA #2 ..... word association
c++ or Java--your suggestions please