subject

Person. javapublic abstract class Person implements Printable { // this is syntax for abstract class declaration which is implementing printable private String firstName; private String lastName; private String email; public Person(){ firstName=""; lastName=""; email=""; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } public String getEmail() { return email; } public void setFirstName(String firstName) { this. firstName = firstName; } public void setLastName(String lastName) { this. lastName = lastName; } public void setEmail(String email) { this. email = email; } public String toString() { return "Name: " + firstName+" "+lastName+"\n"+"Email: " +email; }}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Each time you save a document, you will need to type in the file type in which it should be saved you can select the save button to save it with the same file name if it has been previously saved you will need to select the location to save the file you will need to use the save as dialog box
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
What are the 4 basic items that are traded throughout the world?
Answers: 1
You know the right answer?
Person. javapublic abstract class Person implements Printable { // this is syntax for abstract class...
Questions
question
Medicine, 08.04.2020 17:26
question
Physics, 08.04.2020 17:26
question
Mathematics, 08.04.2020 17:26
question
History, 08.04.2020 17:26
Questions on the website: 13722367