Lab 02: Variables & Primitives
🎯 Objective
📚 Background
⏱️ Estimated Time
📋 Prerequisites
🛠️ Tools Used
🔬 Lab Instructions
Step 1: Declare and use integer types
Step 2: Floating-point and boolean types
Step 3: Widening (implicit) type conversion
Step 4: Narrowing (explicit) type casting
Step 5: Arithmetic and integer overflow
Step 6: String conversion and parsing
Step 7: var — local variable type inference (Java 10+)
var — local variable type inference (Java 10+)Step 8: Final variables (constants)
✅ Verification
🚨 Common Mistakes
📝 Summary
🔗 Further Reading
Last updated
