Core Java Complete Notes By Durga Sir Page
This article provides a comprehensive overview of the Core Java complete notes by
- Cheat-sheets and Quick Reference
- Class: A blueprint/template.
- Object: A physical instance of a class.
- Instantiation:
Student s = new Student();1. Hierarchy
- Rule:
byte -> short -> int -> long -> float -> doubleis automatic. - Rule:
double -> float -> long -> int -> short -> byterequires explicit casting. - Special Case:
inttocharrequires casting unless it's a literal within range.
- Rule: