81.4k views
4 votes
Create a class named your initials person. a person has a name, address, phone number, and email address. be sure to precede the variable names with your initials and use camel casing.

User Tombruijn
by
8.2k points

1 Answer

2 votes

Final answer:

Create a class with the name composed of your initials followed by 'Person', containing personal contact information with properly named properties. Use an appropriate email address for a professional impression. Start emails with a proper salutation and keep them concise.

Step-by-step explanation:

The correct answer is to create a class named with your initials followed by the word Person. This class will contain properties that represent a person's contact information, which should be named using camel casing and prefixed with your initials. For example, if your initials are ABC, the properties would be named abcName, abcAddress, abcPhoneNumber, and abcEmailAddress.

It is important to create an appropriate email address that conveys professionalism. Your email address is often the first impression you make, and it should be based on your actual name or initials, not a nickname or a playful moniker. Similarly, when composing emails, always start with a proper salutation and keep the content concise, especially if the email addresses important issues.

A class named your initials person can be created to represent a person's information such as name, address, phone number, and email address. The variable names should be preceded by your initials and follow camel casing.

For example, if your initials are 'JS', the class could be defined as:

class JSPerson {

String JSName;

String JSAddress;

String JSPhoneNumber;

String JSEmailAddress;

}

In this class, a person's name will be stored in the JSName variable, address in JSAddress, phone number in JSPhoneNumber, and email address in JSEmailAddress.

User Zak Soliman
by
7.8k points