+ 3

can any one code it in java

imagine a publishing company that market both book and audio cassets version of its work create a class of publication that stores the title of data member and price of a publication from this derive two classes one class book which add the page count and tape two classes which add the plying time in mint each of these classes should have a get function to get data from user and display it write main to test book and tape add class sale that hold the record dollars sale of publication get amount from user of each.

12th Nov 2017, 4:02 PM
Ahmed Fakhar Abbas
Ahmed Fakhar Abbas - avatar
4 Answers
+ 12
Try it yourself first in Java. If you're stuck, post your code and specify your problem.
12th Nov 2017, 2:35 PM
qwerty
qwerty - avatar
+ 9
Now closed Challenge -_- I know that's your Homework.
12th Nov 2017, 3:12 PM
Ekansh
+ 8
audio cassets in 2017???? Your teacher must have a really old book. i bet young guys don't even know what's an audio cassette, and if they do, they probably don't have means to listen to it anymore.
12th Nov 2017, 3:41 PM
seamiki
seamiki - avatar
+ 1
i think its difficult task to code it
12th Nov 2017, 3:53 PM
Ahmed Fakhar Abbas
Ahmed Fakhar Abbas - avatar