Thursday, March 17, 2022

Java Installation and Concepts of Object-Orientated Design Principle's

 

    Java is a high-level object-orientated programing language it was made by the company Oracle. It was designed so programmers can write the code one time and use it on any platform that has java without having to recompile. 

When I installed Java I found a really good tutorial that helped me:

https://java.com/en/download/help/download_options.html

Also, there is a good tutorial to help with making the Hello World program its a good first program to make in java. Since I used the IDE Apache NetBeans 13 I used this tutorial and I recommend using Apache NetBeans 13 as your IDE but also there are many different kinds. If you want to use It I provided the link below along with the tutorial to install. 

https://netbeans.apache.org/download/index.html

https://docs.oracle.com/javase/tutorial/getStarted/cupojava/netbeans.html

Object-oriented design is a computer programing model that has software design around data or objects. The object can have different behaviors and attributes. 

There are four major principles of object-orientated design :

1. Encapsulation: It is when an object keeps private inside a class. Other objects don't have access to it because it's private they only call a list of public functions. 

2. Abstraction: is the development of classes, objects, types like their function. 

3. Inheritance: Since in object-orientated design there are so many objects that are very similar they have to abstract the common knowledge and unique logic into separate classes this is inheritance.

4. Polymorphism: There are two kinds Compile time Polymorphism and run-time Polymorphism and the difference is the compile chooses which method will be excuted.When the code is made this is decided. 



No comments:

Post a Comment

Search This Blog

Followers

Contact Form

Name

Email *

Message *

Algorithms and Data Structures

                      How to apply algorithmic design and data structure techniques in developing structured programs is solved by finding w...