Question 2 Not yet answered Marked out of 5.00 Q2 (5 marks, c1) Suppose you have use object, classes and inheritance to
Posted: Wed Apr 27, 2022 3:07 pm
Question 2 Not yet answered Marked out of 5.00 Q2 (5 marks, c1) Suppose you have use object, classes and inheritance to analyze this scenario to write a Java code. There are some smartphone have three attributes (Phoneid, Model, RAM size, color) and two operations (store1, display1). Moreover, create a new iphone class with one attribute (CPU speed) and two operations (store2, display2). This smartphone class will inherit all smartphone class attributes and methods. P Flag question 2 A- B I 1 OP 2