Sign Up

Core Java Complete Notes By Durga Sir Page

This article provides a comprehensive overview of the Core Java complete notes by

  1. 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 -> double is automatic.
    • Rule: double -> float -> long -> int -> short -> byte requires explicit casting.
    • Special Case: int to char requires casting unless it's a literal within range.