Tuesday, 8 August 2023

Java For Beginners

 For Java Newbies 

For my first-time users of Java, there are a lot of things that you may be thinking about. The first question would be saying is “Where to go to install Java" followed by, “How do I even use this application?” Well, here is how I  did it. First, type java JDK in Google and go to the Oracle website to access Java. Here, you will download the latest version of Java - 64-bit (X64 installer) based on your operating system. After which, you will then download an IDE system. This system creates an environment to help you code efficiently and accurately. The IDE system I chose was the Eclipse IDE. It was easy to use and provided responses to help with errors in my coding if there were any. For my project using the IDE, it was, “Hello My name is…”. For the first line, I used system.out.print(“Hello My name is …”); For the system.out.print it is needed so that the line that you need to print is shown on the screen. Likewise, you can use this method for “Hello World”. Overall, the resources that helped me included YouTube videos which I will link below. Good luck with your coding.


For Object Oriented Programming (OOP)

This programming model focuses on organizing software and data objects with particular attributes and behavior. It allows for reusability and efficiency. Its structure includes:

Classes- defines attributes and methods

Objects- represent real-world entities and abstract concepts

Methods- define object behaviors used for reusability and encapsulation.

Attributes- information about objects

For the principles includes:

Encapsulation - objects are self-contained to ensure data security and prevent unintended changes.

Abstraction- It exposes relevant mechanisms to allow easier changes and additions

Inheritance- reuse code from another class to maintain accuracy.

Polymorphs- objects take different forms enabling different objects to use the interface for different executions.



Links

Object Oriented Programming - https://www.techtarget.com/searchapparchitecture/definition/object-oriented-programming-OOP?Offer=abt_pubpro_AI-Insider

How to download Java - https://www.oracle.com/java/technologies/downloads/

How to install Java JDK 20 - https://www.youtube.com/watch?v=AUL--F5Wdh8

How to install Eclipse IDE - https://www.youtube.com/watch?v=5j9KFFsORSg


No comments:

Post a Comment

OS Theory Concept Map

  Week 1 Concept Map     Week 2 Concept Map             Week 3 Concept Map             Week 4 Concep...