In this section we will learn about the basics of Java. Here we will see the concepts of OOPs. We will discuss the basics of OOPs.
OOPs, stands for Object Oriented Programming System that specifies a model for programming where the programmer focuses mainly around "Objects". In the object oriented programming language paradigm at first, all the objects are identified which has to be manipulate and then it is generalize as a class of object. Basically, an Object is an instance of a class. OOPs provides various concepts such as, Inheritance, Polymorphism, Encapsulation, Abstraction, etc.
The First Object Oriented Programming language is the Simula and the Smalltalk is the first complete object-oriented programming language. Now a days various languages implements the concept of OOPs. for example, Java, .NET, Python etc. Java is the language that implements the features of OOPs and is written as to use on the distributed applications either they are on corporate networks or internet.
Basics of OOPs
Object Oriented Programming System is a concept for designing programs using class and objects. Historically, the programs were written in procedural languages such as C. Programming in procedural languages were very difficult. Maintenance of the developed softwares using procedural languages was difficult. After, the implementation of OOPs in the programming languages made the software development easy and more maintainable. The basic concepts of OOPs are as follows :
Some miscellaneous topics
Association : Association specifies the relationship between two classes into which the object of one class does the operation based on the other class. Using this feature method, data member of another class can be invoked.
Aggregation : Aggregation specifies the relationship between two classes into which the object of one class is the member of another class.
Composition : Composition specifies the aggregation relationship between two classes into which the object of one class is the compulsory member of another class.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial