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 :)
Me too ..
I don't fully understand it , so I don't understand classes and objects ! :(
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.
thank you so much Jos for the explanation :)