Post
Report Title: Evaluation and Summary of "Core Java Complete Notes by Durga Sir"
B. Inheritance (IS-A relationship)
- Key Rule: Constructors are not inherited.
super()call: The first line of every constructor is eithersuper()(parent constructor) orthis()(sibling constructor). If you don't write it, the compiler insertssuper().- Method Overriding: Runtime polymorphism. Rules: Method name & args must match. Return type must be covariant. Access modifier cannot be more restrictive.
private,final,staticmethods cannot be overridden.
Control structures determine the flow of a program's execution. Here are the basic control structures in Java:
Simplicity: Even for beginners, his explanations on "call by value" vs. "call by reference" make abstract concepts feel logical. What the Notes Cover
- HashMap stores entries in buckets based on hashCode(); on put(), it computes index = hash & (capacity-1); handles collisions via linked nodes or treeify when threshold met; rehashing doubles capacity when load factor exceeded (default 0.75). Always override equals() and hashCode() consistently.
Exception before NullPointerException.