Hamza A.

asked • 09/11/20

object oriented programming

Draw a class diagram on MS Visio having following scenario and attach screen shot of it,

It’s an app in which TeleLogin is a class in which SignIn and SignUp are it subclasses, having private attributes username and password and login is a method in SignIn Class whereas first_name, last-name, email, phone_num, set_password, confirm_password are the private attributes and create_user is a method.

Family_view is a class that has a string array of friends, String message, including Boolean have_picture, enable_post, hit_like all are private attributes. It has add_post, set_picture, add_comment, click_like, sent_message all are public methods. Privacy class is an abstract class that is implemented by Security, Visibility, Accessibility as subclasses that will define abstract methods namely secure_account, visible_post, access_photos. Security class also has its own attribute Boolean secure and is_secure method. While Visibility class has its own attribute as Boolean view_post. Also Accessibility class has its method access_notifications.

Many people can create their account and one person is allowed to manage his Privacy class. Many people can update Family_view class.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.