Object-Oriented Programming and Java


Object-Oriented Programming is a paradigm based on the concept of taking real world objects and representing them in coding. OOP is used widely among various programming languages. The concept of this programming style uses classes and objects. These objects can be broken down using various attributes like functions – methods or attributes – properties. OOP consists of abstraction, encapsulation, inheritance, and polymorphism.  Combined these make up the four pillars of object-oriented programming.


Abstraction: Only showing the user the necessary details for accessing an object

Encapsulation: Restricts the access of properties or methods of an object, by hiding data

Inheritance: Allows the reusability of code of an existing class

Polymorphism: Helps the user determine what function to run while it is running

Here are some examples of Object – Oriented Programming languages that have the concept of classes:

·      C++

·      Java

·      JavaScript

·     Python

    As a beginner to computer programming, I recommend beginning with Java.  It is a great way to begin learning how to build application using programming language. Java is an OOP that is both a high-level language and is easy to read and understand. The most popular use for this programming language is GUI, gaming web and mobile applications.

    Java was created by James Gosling at Sun Microsystems, Inc. and launched in 1995. The simplicity of Java allows the programming language to be written the same way on a variety of platforms. For this reason, James’s motto was Write Once, Run Anywhere” (Britannica, 2021).

    There are several tutorials and job aid available to help a beginner like yourself get started with Java. On Oracle there are tutorials that cover the basics such as installing the Java Software, basic input/output and essential concepts. Once you have installed Java a great exercise to get your feet wet would be the “Hello World” activity.  This is a great way to begin exploring the World of possibilities with coding.

 

Britannica, T. Editors of Encyclopedia (2021, March 24). JavaEncyclopedia Britannica. https://www.britannica.com/technology/Java-computer-programming-language

Lysecky, R., Vahid, F., Lysecky, S., & Givargis, T. (2015). Data structures essentials. Retrieved from https://zybooks.zyante.com/#/zybook/DataStructuresEssentialsR25/chapter/1/section/3



Comments

Popular posts from this blog

Newbie to Newbie

Week 5 Final Project - Theory Concept Map