Question: If we create two objects of a class named car and we name them car 1 and car 2 , now using the assignment car

If we create two objects of a class named car and we name them car1 and car 2, now using the assignment car1=car2 what would be car1.name if car2.name is "Toyota"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!