Question: In java Problem: Create the classes and interfaces on the UML class diagram. 1) Create an arraylist and add 10 mobilephone objects with different properties.

 In java Problem: Create the classes and interfaces on the UML

In java

Problem: Create the classes and interfaces on the UML class diagram. 1) Create an arraylist and add 10 mobilephone objects with different properties. For Example different os, different brand etc. 2) From 3 to all other sections create different for loops to print and place --- mark to seperate the results of the operations. 3) Call all mobilephone object's toString method. (In this case toString method of Computer is inherited) 4) Call all mobilephone object's camera object's toString method. 5) Call all mobilephone object's camera object's brand property. 6) Call all mobilephone object's os property. 7) Call all mobilephone object's makeCall method. 8) Call all mobilephone object's playVideo method. 9) Call all mobilephone object's pauseVideo method

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!