Object oriented programming in Java
Before entering into the course , you should have a little knowledge about where exactly the Java is from? and why Java is considered to be an object oriented programming? well all computer programs do consists of two main elements : code and data. you have to keep two phrases in mind one is “what is happening” and the other “who is being affected” , these two paradigms will construct a program. do you want to know how? let’s see
The fist approach is called “process-oriented model” this model defines the strategy that always the code acts on data , this model is used in C-language. and it is considerable success. But this model has complexity when dealing with large amounts data. when the data is large the code become complex. Because of this increasing complexity , then there the second approach came into light “who is being affected” this approach is called “object-oriented programming“.
To manage this complexity object-oriented programming came with a strategy that always the data controlling access to code. In object-oriented programming data is called “object“.Because this is absolute beginners place , we will take you to understanding the way it is. Let’s think for now , in java programming language object holds the data and the methods holds the code and the class holds the methods.
The object model in java is simple and easy to extend So class is the template to your program. For now this information helps you to start your java course ,we will guide your java course as easy as we mentioned. In the next page you will get know the three main principles in OOP’s.