Question: Help please answering the Java questions below, Thanks! 1.Imagine a supermarket. What objects can you find there? What are the properties of these objects and
Help please answering the Java questions below, Thanks!
1.Imagine a supermarket. What objects can you find there? What are the properties of these objects and what can they do? How do they sit together, do they have any relationships with each other? Draw the objects you can find and describe relationships, properties and what the objects can do. Draw and describe completely freely.
2.Do the same as in the previous task, but now you must describe a zoo.
3.What are the two biggest benefits of using a public interface in a class, that is, creating private instance variables and public methods to encapsulate the object's data?
4.How is data transferred to an object? What would best define the variable "life expectancy" as a class Person?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
