Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a program to manage SmartPhone. A smartphone includes: id(String), name(String), OS (OperationSystem), pin (PIN). The OperationSystem includes: name(String), version(String). PIN includes hours(int), brand(String), When

Develop a program to manage SmartPhone. A smartphone includes: id(String), name(String), OS (OperationSystem), pin (PIN). The OperationSystem includes: name(String), version(String). PIN includes hours(int), brand(String),

When the main method runs, it display a menu:

1. Create a smartphone

2. Display a smartphone

3. Update version of OS

4. Change a new pin

5. Exit

image text in transcribed

Test case:

1. Create a smartphone

2. Display a smartphone

3. Update version of OS

4. Change a new pin

5. Exit

Choose: 1

Enter id: 1

Enter name: iphone

Enter OSs name: iOS

Enter OSs version: 1.1.1.1

Enter Pins hours: 12

Enter Pins brand: china

1. Create a smartphone

2. Display a smartphone

3. Update version of OS

4. Change a new pin

5. Exit

Choose: 2

Smartphone: 1-iphone-iOS-1.1.1.1-12-china

1. Create a smartphone

2. Display a smartphone

3. Update version of OS

4. Change a new pin

5. Exit

Choose: 3

OSname: android

OSversion:1.1.1.2

Smartphone: 1-iphone-android-1.1.1.2-12-china

1. Create a smartphone

2. Display a smartphone

3. Update version of OS

4. Change a new pin

5. Exit

Choose: 4

Enter new pin hours: 24

Enter new pins brand: ThaiLand

Smartphone: 1-iphone-android-1.1.1.2-24-ThaiLand

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions