Q. A class in Java is a:
Solution:
A class is the fundamental building block of an object-oriented program. It defines the properties (fields) and behaviors (methods) that objects of that type will have.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.