lab-03
lab-03
LAB #03
Lab Objective: By the end of this lab, students will be able to:
1. Understand primitive data types in Java.
2. Learn how to declare and use variables.
3. Perform type conversions (implicit and explicit).
Technologies/Tools Required:
JDK (Java Development Kit): The software development environment for writing
Java applications.
Eclipse IDE: An integrated development environment for Java.
short: 5000
int: 100000
long: 15000000000
float: 5.75
double: 19.99
char: D
boolean: true
Conclusion: This lab introduced the concept of primitive data types, variable declaration, and
type conversions in Java, providing a foundation for writing basic programs.
"Just like every data type has its purpose; every step you take in learning brings you closer to
mastering the art of programming!"