I have a user class that contains name, email, city, state, zip. This is common to both sub groups of mobile user and web user. the sub group has different methods. Should user be an abstract class and the two sub groups be like so?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Basically everything is right except that
Usershould just be a normal class (not abstract).Remember that
abstractclasses should be used when you want your class to define a certain set of shared behaviors, while forcing its subclasses to provide others. This isn’t the case in your situation. Rather, your subclasses simply provide additional behavior to theUserclass.