This is a simple Java application developed to practice Object-Oriented Programming (OOP) concepts.
The program receives a number from the user, processes it using a separate class, and displays its double.
- Java
- Scanner (Java Standard Library)
- Object-Oriented Programming (OOP)
- The user enters an integer number.
- The number is stored inside a
Calculatorobject. - The object processes the value by doubling it.
- The result is displayed in the console.
- Clone the repository
- Compile the files:
javac Main.java Calculator.java