Posts

Showing posts from May 29, 2022

๐Ÿ˜ฎ๐Ÿ˜ฎ DAY 4- FEATURES OF JAVA ๐Ÿ˜ฎ๐Ÿ˜ฎ

Image
  Yho Codestars!  It's day 4 and I have studied for a couple hours today, I feel overloaded but you know what the goal is? -- FULL STACK JAVA DEVELOPER IN 6months ๐Ÿ˜‰ ๐Ÿ˜Š.  Let's get started! JAVA is an Object-Oriented Programming Langauge (OOP) . OOP has 4 features. ABSTRACTION: The main purpose of abstraction as the name implies to hide unnecessary data which helps to reduce the complexity of a program and only display needed information. ENCAPSULATION: This feature helps to hide sensitive data from users. It increases security, allows flexibility, and increases the control of methods and class attributes. The structure of the objects and implementation of the methods are hidden from the user. INHERITANCE: This feature allows one class to inherit the feature of another class (includes fields and methods). The class with the inherited feature is called the SUPER CLASS / PARENT CLASS. The class that inherited features from another class is called the SUB CLASS / CHILD CLASS In

๐ŸŽฏ๐ŸŽฏ DAY 3- INTRODUCTION TO JAVA (II) ๐ŸŽฏ๐ŸŽฏ

Image
Yho Codestars!  It's day 3 and I still feel quite energetic๐Ÿ‘ถ . So here is what I learned today, feel free to comment and follow my blog๐Ÿ˜ . Today's JAVA lesson! The basic element of Java:  Java has 3 basic elements; Class, Interface, and Enum. We can only write a java program with the aid of these 3 elements, without class and interface, there is no Java program. Syntax of the basic elements: Syntax is a set of rules we need to follow when writing a program. Class <Acess modifier> class <class name> { } Interface <Acess modifier> interface < interface name> { } Enum <Acess modifier> enum < enum name> { } Access modifiers provide access restrictions to a class. There are 4 types of access modifiers; Public Private  protected  Default We cannot declare a Java class as private, or protected, the same goes for interface and enum. Examples of the basic element's syntax:      The example in the first row shows the public class and the second

๐Ÿ’๐Ÿ’ Day 2- CHARACTERISTICS OF JAVA ๐Ÿ™‡๐Ÿ™‡๐Ÿ’†๐Ÿ’†

Image
  Yho Codestars!  It's day 2 and I still feel quite energetic.๐Ÿ‘ถ However, Java has many characteristics. I guess at some point there will be no space to share all I learn in a day, as I do not want this blog to be too cumbersome to read๐Ÿ˜ Here are the lessons I learned in Java today! Let's discuss the characteristics of JAVA. 1. JAVA is simple! In my own opinion, JAVA is simple to learn for beginners, however, it's simpler if you already know OOP or worked with C programming. Why is Java considered simple? ℟↠ JAVA has user-friendly syntax. ℟↠ Because it does not use pointers, hence there's no memory corruption.  ℟↠ It's faster to develop and execute (using the Just in time compilation). ℟↠ Because JAVA uses garbage collection to automatically manage its memory; the destruction of objects that are no longer useful. ℟↠ Because it is an object-oriented programming language. OOP improves the efficiency, readability, and reusability of a java program.  ℟↠  We can Write J

๐ŸŽฏ๐ŸŽฏDAY 1- INTRODUCTION TO JAVA๐ŸŽฏ๐ŸŽฏ

Image
Yho Codestars!  It's day 1 and I have studied for several hours today, I feel good and I need no coffee๐Ÿ˜Š.  Today's JAVA Lessons Learned! JAVA is not an acronym, James  Gosling chose the name Java, this is named after the JAVA Island in Indonesia where the first coffee was produced. Characteristics of JAVA Simple, object-oriented, dynamic, interpreted, strongly typed, robust, portable, secured, platform-independent, multithreaded, architecture-neutral. Everything in JAVA is an object except the fundamental types; which includes the primitive data and their corresponding wrapper classes /reference types. Java is a strongly typed language means that every variable must be declared with a data type, the data type must match the declared variable else the compiler will throw an error. 3 phases in Java: Write Compile Run JAVA writes text files (in Java language), JAVAC (JAVA Compiler) compiles programs as input and generates byte codes as output, and JVM executes the bytecode genera

๐Ÿ’…๐Ÿ’…MY ACRONYMS- EXTRA NOTES (Series I)๐Ÿ’…๐Ÿ’…

Image
  Yho Codestars! I love to study using acronyms and songs, this might sound crazy and unserious however, it works for me๐Ÿ’ฅ๐Ÿ˜….  ##I will update this space anytime I have new acronyms or a song## Drop a comment below about your special way of reading!๐Ÿ’ญ๐Ÿ’ช Let's go! WCR- Write, Compile, Run WORA- Write Once and Run Anywhere PAEI (Pronounced as PI)-  Polymorphism, Abstraction, Encapsulation, Inheritance.

♕♕♕My First Blog Post♕♕♕

Image
 My First Blog Post Call me Codestar because this is my goal for the next 6 months! I studied computer science many years ago, but I have not necessarily worked in this field professionally. My dream is to become a Full Stack Developer and I am committed to this new goal. I have tried coding on different occasions but failed due to different reasons. However, now I have the time and the opportunity to learn from scratch, I have set a 6 months goal to ensure that this dream is achieved. I hope to post here whatever I learn every day from now till the next 6months [01-06-2022 - 30-11-2022]. If you have a dream like mine- to learn JAVA, HTML, CSS, or any other programming language, come join this ride and study Java  Full Stack Development with me. Give Up .     Do Not Give Up.