Results 1 to 4 of 4
Thread: Java is an OOP language.
- 01-14-2010, 04:11 AM #1
Member
- Join Date
- Dec 2009
- Posts
- 2
- Rep Power
- 0
Java is an OOP language.
I read about the characteristic of java and there's one point that i could not fully understand about it.
Java is object-oriented, which means that, among other characteristics, an object can take advantage of being part of a class of objects and inherit code that is common to the class. Objects are thought of as "nouns" that a user might relate to rather than the traditional procedural "verbs." A method can be thought of as one of the object's capabilities or behaviors.
can someone please explain to me in detail what does it mean? thank you in advanced :)
- 01-14-2010, 07:39 AM #2
Me too ..
I don't fully understand it , so I don't understand classes and objects ! :(
- 01-14-2010, 07:46 AM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
SmallTalk (another, much older, object oriented language) explained it clearly: objects can be thought of as nouns and what are called methods in Java are the verbs of the language; one object is the 'actor' that 'says' something (by using a verb) to an 'actee', another object. This is the means of communication between objects: one object calls a method of (another) object in Java speak. Whatever that other object does is the business of the other object; why it does it was caused by the first object. Whether or not an object can 'say' something to (another) object is a matter of the implementation of a class to which an object belongs.
kind regards,
Jos
- 01-14-2010, 10:15 AM #4
Member
- Join Date
- Dec 2009
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Does anyone know how to write contour using java language ?
By motress in forum EclipseReplies: 1Last Post: 01-12-2010, 01:02 PM -
Running Java App From Eclipse in Different Language
By GotMals in forum EclipseReplies: 1Last Post: 05-06-2009, 06:43 PM -
JAVA a cross-platform language? I have my doubts!
By willemjav in forum Advanced JavaReplies: 34Last Post: 10-24-2008, 11:26 PM -
Is JAVA the right language?
By EDENO in forum New To JavaReplies: 3Last Post: 08-08-2008, 12:29 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks