23
loading...
This website collects cookies to deliver better user experience
I am reviewing for an Oracle Java Certification exam and decided to run through the documentation of Java's Nuts and Bolts. Check out the github repository for other review bullet points. Here are my notes for the core concepts behind Java's object-oriented programming (OOP).
An object is a software bundle of related state and behavior. Software objects are often used to model real-world objects found in everyday life
A class is a blueprint or prototype from which objects are created.
class
is the blueprint from which individual objects are created.Inheritance provides a powerful and natural mechanism for organizing and structuring software.
An interface is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that interface.
A package is a namespace for organizing classes and interfaces in a logical manner. Placing code into packages makes large software projects easier to manage.
NOTE: These questions are the review questions in the Java documentation.
extends
keyword.