View on GitHub

reads

https://yazansneneh.github.io/reads/

Read: 04 - OOP

Lesson: Object-Oriented Programming Concepts

benefits of objects.

What Is a Class?

public class Door {
    double height = 0.0;
    double weight = 0.0;
    double width = 0.0;

    void changeHeight(int newValue) {
         height = newHeight;
    }

    void changeWidth(int newValue) {
         width = newWidth;
    }

    void changeWeight(int increment) {
         weight = newWeight ;   
    }

    void open(int decrement) {
         System.out.print("Open!");
    }

      void close(int decrement) {
         System.out.print("Close!");
    }
}

Binary, Decimal and Hexadecimal Numbers

Decimals

Counting with Different Number Systems