Java Lec04
OOP in java (Defining and using class) Java is fundamentally Object-Oriented Every line of code you write in Java must be inside a Class (not counting import directives) Clear use of Variables Methods Re-use through “packages” Modularity, Encapsulation, Inheritance, Polymorphism etc. OOP Vocabulary Review Classes Definition or a blueprint of a userdefined datatype Prototypes for …