Java Classes [Java]

In real life, we know that many objects are similar. For example, every car shares some similarities. We can use a basic blueprint and modify it to make other cars. A class in java is the blueprint you use to make objects. Here is an example:

class Car{

    int speed = 0
    int gear = 1;
    void changeGear(int value) {
         gear = value;
    }

    void speedUp(int amount) { 
         speed = speed + amount; 
    }

    void slowDown(int amount) {
         speed = speed - amount;
    }

    void printInfo() {
         System.out.println("Gear:" + gear + " Speed:" + speed);
    } 

}

In this we setup basic variables and created a few methods to change those variables.… View full post

Skip Login Password of Windows 8 & 10

Unlike the previous versions of Windows, where you can easily remove the password of your Windows account, in Windows 8 & 10 you must have to use password to login and access your PC. You want to get rid of this system? Yeah, that’s why you’re here. Here are some simple steps to do so.

Steps to remove password of Windows 8 & 10:

1- If you’re on Windows 8 then move to Start Menu then more apps and open Run but if you’re on Windows 10 then type Run in search box (as shown below) or simply press Windows key + R from your keyboard to open Run.… View full post

Fix Missing Dll Errors

The program can’t start because abcdegf.dll is missing……..Those tiny but annoying error messages which occurred when you wanted to run some of your favorite apps or games.

We should have a short introduction to DLLs. DLL stands for Dynamic Link Library, it consists of data, coding and resources. These are predefined or precoded files which are used for specific purpose in one or multiple applications.… View full post