Why dont we simply store all objects in variables of type


Problem

1. Why don't we simply store all objects in variables of type Object?

2. Assuming that x is an object reference, what is the value of x instance of Object?

3. Suppose you want to use the average method to find the average salary of Employee objects. What condition must the Employee class fulfill?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Why dont we simply store all objects in variables of type
Reference No:- TGS02631000

Expected delivery within 24 Hours