This is a java question.The system should have three classes: Device, Android and iOS. Device is the parent of other classes. What Android class has as an extra is a ?eld called devmode which is a boolean value that indicates if the device can be used for app development. Another significant field is version (you may assume it to be float). iOS also have a similar structure. A field called model, gives information regarding the model of iPhone. Also, another field called SEID (assume it to be integer) should be defined. Setters and getters as well as all other needed functionality should be there.
Once you create these classes write your test class with main method.
The output of such an application would look like:
Device is manufactured by Samsung. It was released in 2001.
Device is manufactured by HTC. It was released in 2013. It has Android mobile operating system version 5.1.1. It is not suitable for development.
Device is manufactured by Apple. It was released in 2018. It is an iPhone XR with a SEID of 123456
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp