logo

Gadget, Mobile and MP3 Player Classes in Java

16 Pages1551 Words57 Views
   

Added on  2019-09-20

About This Document

This article explains the implementation of Gadget, Mobile and MP3 Player Classes in Java. It includes class diagrams, test cases, screen shots, and code with descriptions. The article also includes a TestClass that tests the functionality of the classes. The subject is Java programming and the course code is not mentioned. The content is relevant for computer science students in universities and colleges.

Gadget, Mobile and MP3 Player Classes in Java

   Added on 2019-09-20

ShareRelated Documents
Gadget, Mobile and MP3 Player Classes in Java_1
ContentsClass Diagram..................................................................................................................................3Test Cases and Screen Shots............................................................................................................4Test 1:..........................................................................................................................................4Test 2:..........................................................................................................................................4Test 3:..........................................................................................................................................4Test 4:..........................................................................................................................................4Test 5:..........................................................................................................................................4Test 6:..........................................................................................................................................4Code with description......................................................................................................................5Gadget.java..................................................................................................................................5Mobile.java..................................................................................................................................7MP3.java....................................................................................................................................10TestClass.java............................................................................................................................12
Gadget, Mobile and MP3 Player Classes in Java_2
Class Diagram
Gadget, Mobile and MP3 Player Classes in Java_3
Test Cases and Screen ShotsTest 1: Inspect a mobile phone, add calling credit, and re-inspect the mobile phoneTest 2: Inspect a mobile phone, make a call, and re-inspect the mobile phoneTest 3: Call the method to display the details of a mobile phoneTest 4: Inspect an MP3 player, download music, re-inspect theMP3 playerTest 5: inspect an MP3 player, delete a piece of music, and re-inspect the MP3 playerTest 6: Call the method to display the details of an MP3 playerOne screen shot for all test cases
Gadget, Mobile and MP3 Player Classes in Java_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Representation of Mobile Phone and MP3 Player Assignment
|2
|1076
|633