aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61066
    
  66

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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java