JAVA'S Object-oriented programming concepts
Back to top Object-oriented programming concepts The Java language is (mostly) object oriented. If you haven't used an object-oriented language before, OOP concepts might seem strange at first. This section is a short introduction to OOP language concepts, using structured programming as a point of contrast. What is an object? Structured programming languages like C and COBOL follow a different programming paradigm from object-oriented ones. The structured-programming paradigm is highly data oriented: You have data structures, and then program instructions act on that data. Object-oriented languages such as the Java language combine data and program instructions into objects . An object is a self-contained entity that contains attributes and behavior, and nothing more. Instead of having a data structure with fields (attributes) and passing that structure around to all of the program logic that acts on it (behavior), in an object-oriented language, data and program logi...
Comments
Post a Comment