Modifiers:
synchronized: Used to indicate that a method or block of code is synchronized.
volatile: Indicates that a variable's value will be modified by different threads.
transient: Prevents serialization of a field.
native: Specifies that a method is implemented in native code using JNI (Java Native Interface).
strictfp: Ensures floating-point calculations adhere strictly to IEEE 754 standards.
Access Modifiers:
private: Accessible only within the declared class.
protected: Accessible within the same package and by subclasses.
public: Accessible from any other class.
default (package-private): If no access modifier is specified, accessible only within the same package.
4. Class and Object Keywords:
class: Defines a new class.
interface: Defines an interface.
extends: Indicates that a class is inheriting from a superclass.
implements: Indicates that a class is implementing an interface.
new: Creates new objects.
abstract: Declares an abstract class or method.
final: Defines an entity that cannot be changed or extended.
static: Indicates that a method or variable belongs to the class rather than instances of the class.
this: Refers to the current instance of the class.
super: Refers to the parent class of the current object.
enum: Defines a set of named constants (an enumeration).