This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java" Watch "java" New topic
Author

java

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 346
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: 63202
    
  69

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
 
It's not a secret anymore!