Basics
Syntax, data types, operators, and control flow.
Topics
Primitive Data Types – Integrals and Floating Point Precision
Understanding float/double precision issues, IEEE 754, and default values for primitives.
Reference Data Types
How references work, pass-by-value for objects, string pooling, and interfaces as reference types.
Java Methods
Method syntax, components, access control, overloading vs overriding, and interview takeaways.
Static Methods
Static methods, method hiding, overriding behavior, compile-time vs runtime resolution, and design considerations.
Varargs
Accept variable number of parameters cleanly; rules, pitfalls, and best practices.