Core Java Complete Notes By Durga Sir Page
Feature Overloading Overriding Method Name Must be same Must be same Argument Types Must be different Must be same Return Type Can be different Must be same (or covariant) 5. Exception Handling Definition Handles runtime errors safely. Prevents abnormal program termination. Throwable is the root class. Two main subclasses: Exception and Error . : Recoverable conditions (e.g., IOException ). Errors : Unrecoverable conditions (e.g., OutOfMemoryError ). try : Holds risky code. catch : Handles the thrown exception. finally : Executes always for cleanup activities. throw : Hand-overs user-defined exceptions to JVM. throws : Delegates exception handling responsibilities. 6. Multi-Threading Thread Definition An independent path of execution. Saves CPU time via concurrency. Thread Creation Extending Thread Class :
Which do you want to expand next? (e.g., Garbage Collection, JVM Architecture, Java 8 Features) core java complete notes by durga sir



