Computers & Technology

Why we say Java is Object-Oriented?

Asked by
Last updated by anonymous
1 Answers
Log in to answer

Object oriented programming is the catch phrase of computer programming in the 1990's. Although object oriented programming has been around in one form or another since the Simula language was invented in the 1960's, it's really begun to take hold in modern GUI environments like Windows, Motif and the Mac. In object-oriented programs data is represented by objects. Objects have two sections, fields (instance variables) and methods. Fields tell you what an object is. Methods tell you what an object does. These fields and methods are closely tied to the object's real world characteristics and behavior. When a program is run messages are passed back and forth between objects. When an object receives a message it responds accordingly as defined by its methods. Object oriented programming is alleged to have a number of advantages including: • Simpler, easier to read programs • More efficient reuse of code • Faster time to market • More robust, error-free code

source and further information:- www.examville.com