This part of the project contains simple Java programs that introduce basic concepts of Java programming, including main methods, naming conventions, numerals, output, and type casting.
- Main.java: This file contains the main entry point of the Java application
- Naming.java: This file illustrates the naming conventions used in Java
- Numerals.java: This file covers the use of numerals in Java
- Output.java: This file shows how to produce output in Java
- TypeCasting.java: This file explains type casting in Java
- Ensure you have the Java Development Kit (JDK) installed on your system.
- Open a terminal and navigate to the
part_01directory. - Compile the Java files using the following command:
javac *.java - Run any of the compiled programs using the
javacommand. For example, to runMain.java, use:java Main
The purpose of this part is to provide a foundation for understanding basic Java concepts and syntax. Each file is designed to be a small, self-contained example that illustrates a specific aspect of the Java language.