Downloading Java and Object-Oriented Programming
If you have new to programming and using the Java compiler. I am here to help!!!
To download Java, use the following link:
The Java™ Tutorials (oracle.com) (This link provides step by step instructions on installing Java and the code editor NetBeans IDE.)
If you are like me, you like to use applications that you are comfortable with. I have become very comfortable with using the code editor Notepad++. It made writing code for the Python compiler easy for me.
To download Notepad++, use the following link:
Notepad++ (notepad-plus-plus.org)
For a tutorial of how to set up Notepad++ to run Java, use the following link:
How to Compile and Run Java Programs Using Notepad++ (wikihow.com)
There are many other code editors available. I recommend that you try a few out and decide which one works best for you.
Now that you have the programs you need, we must understand some logic behind writing code. Object-Oriented Programming is one type of coding technique. OOP is the idea of organizing software design around data, or objects, rather than functions and logic. This coding technique focuses on the object the programmer wants to manipulate, which is good for programs that are large, complect, and require constants modifications and maintenance.
There are 5 principles of OOP.
- Abstraction - The development of classes, objects, and types which help breaking down large codes.
- Encapsulation - Hiding of data implementation by restricting access to accessors an mutators.
- Inheritance - Applies the properties of one class to another class.
- Polymorphism - The idea that an object can have more than one form in a code.
Comments
Post a Comment