Java Lecture Note

History of Java

Tools You Will Need

INTERFACES

Declaring Interfaces

Implementing Interfaces

Extending Interfaces

Extending Multiple Interfaces

Tagging Interfaces

CREATING AN OBJECT

OBJECT CONSTRUCTION AND DESTRUCTION

Method Overloading

OVERRIDING

Rules for Method Overriding

Using the super Keyword

EXCEPTIONS

Exception Hierarchy

Exceptions Methods

Catching Exceptions

Multiple Catch Blocks

Catching Multiple Type of Exceptions

The Throws/Throw Keywords

The Finally Block

The try-with-resources

User-defined Exceptions

Common Exceptions

MULTITHREADING

Life Cycle of a Thread

Thread Priorities

Create a Thread by Implementing a Runnable Interface

Create a Thread by Extending a Thread Class

Thread Methods

VARIABLE TYPES

Local Variables

Instance Variables

Class/Static Variables

Overall Rating

0

5 Star
(0)
4 Star
(0)
3 Star
(0)
2 Star
(0)
1 Star
(0)
APA

Consults, E. (2023). Java Lecture Note. Afribary. Retrieved from https://afribary.com/works/java-lecture-note

MLA 8th

Consults, Education "Java Lecture Note" Afribary. Afribary, 20 Jun. 2023, https://afribary.com/works/java-lecture-note. Accessed 22 Dec. 2024.

MLA7

Consults, Education . "Java Lecture Note". Afribary, Afribary, 20 Jun. 2023. Web. 22 Dec. 2024. < https://afribary.com/works/java-lecture-note >.

Chicago

Consults, Education . "Java Lecture Note" Afribary (2023). Accessed December 22, 2024. https://afribary.com/works/java-lecture-note