Computer Applications
What is a method ? Can there be objects without having any methods ?
Objects & Classes
5 Likes
Answer
The behaviour of an object is described through associated functions called methods.
In Java, every class is a subclass of Object class and so, all objects inherit the methods of the Object class. Thus, it is not possible for objects to be without any methods.
Answered By
3 Likes