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 Swing / AWT / SWT and the fly likes Object meaning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Object meaning" Watch "Object meaning" New topic

Object meaning

Manoj Paul
Ranch Hand

Joined: Jan 18, 2007
Posts: 112
What is object in Java?

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 43970
Should be asked on the beginners' forum.

It measn the same as "object" in other object-oriented languages, eg Eiffel, C#, Simula. It measn a computerised representation of "something" which has data (attributes, in Java called fields) and behaviour (it does something, which in Java is expressed through its methods).

What colour is a car?

"car" means a "class." "A car" is an "object."
The "car" class can accommodate colour, speed, direction, fuel consumption, engine type, etc, etc, etc.
"A car" might be a RED FORD, travelling SOUTH at 45 mph, using 1 gallon fuel for every 40 miles, with a Diesel engine.

You should know where to find the Java Tutorials, the Javaranch beginners' FAQ, etc. There are lots of websites which help to explain what an object is.
I agree. Here's the link:
subject: Object meaning
It's not a secret anymore!