Class: A class is like a blueprint or template that defines the structure and behavior of objects. It serves as the foundation for creating objects in Java programs.
Method: A method is a block of code that performs a specific task within a class. It encapsulates related actions or behaviors that can be called upon when needed.
Variable: A variable is used to store data in memory during execution. It represents named locations where values can be assigned and retrieved within the program.