Question: In Java, objects are grouped into classes according to their behavior. Would a window object and a water heater object belong to the same class
In Java, objects are grouped into classes according to their behavior. Would a window object and a water heater object belong to the same class or to different classes?
Why?
Step by Step Solution
3.33 Rating (165 Votes )
There are 3 Steps involved in it
In Java objects are usually grouped into classes based on their behaviors and characteristics and the design principle is often guided by the notion o... View full answer
Get step-by-step solutions from verified subject matter experts
