In Java, a class is a blueprint for objects, and objects are instances of classes.
A constructor is a special method that gets called when an object is created, it is used to initialize the object.
A no-arg constructor is a constructor that takes noarguments.
Mutator methods are used to modify the state of an object, they are often referred to as "setters" because they set the values of instance variables.
Accessor methods, or "getters," are used to retrieve the values of private instance variables.
An objectreferencevariable holds the memory address of an object, in Java, when you create an object, you're actually creating a reference to that object.
Encapsulation in OOP is the concept of bundlingdata (attributes) and methods that operate on the data into a single unit (class).
Inheritance in OOP allows a class to inheritproperties and methods from another class, promoting code reuse.
Polymorphism in Java can be achieved through method overloading and overriding.
Abstraction in OOP simplifies complex systems by modelingclasses based on real-world entities and providing essential features.
Overloading in OOP is the concept of defining multiple methods in the same class with the same name but different parameter lists.
Overriding in OOP is the concept of providing a specific implementation for a method in a subclass that is already defined in its superclass.
An interface in OOP is a collection of abstract methods, and the implements keyword is used by a class to indicate that it implements a particular interface.
Classes extending an existing class in Java can use the extends keyword.
Swing is a GUItoolkit for Java, common GUI components include: JFrame, JPanel, JButton, JTextField,JTextArea,JLabel,JComboBox,JCheckBox,JRadioButton.
Containers in Swing are components that can contain other components, examples include: JFrame,JPanel, JScrollPane, JTabbedPane, JDialog.