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, 24.06.2019 11:20
Every telecommunication setup uses two devices: one device to transmit data and one device to receive data. which device transmits frequencies to mobile phones? towers transmit frequencies to mobile phones.
Answers: 1
question
Computers and Technology, 25.06.2019 04:10
While creating a web page, what does each of the following html tags define? 1. 2. 3. 4. a. defines a new paragraph b. defines a term c. defines a single line break d. defines a heading
Answers: 1
question
Computers and Technology, 25.06.2019 07:50
The β€œtab” key can a. create extra cells in a word table *b. move from cell to cell in a word table c. move from the top of a column to the bottom of a column in a word table d. none of the above a. none of these answers are correct b. move from cell to cell in a word table c. move from the top of a column to the bottom of a column in a word table d. create extra cells in a word table
Answers: 2
question
Computers and Technology, 25.06.2019 08:00
The heart of a computer.basic input/output systemselectmain memoryserial portcentral processing unit (cpu)
Answers: 3
You know the right answer?
Person. javapublic abstract class Person implements Printable { // this is syntax for abstract class...
Questions
question
Mathematics, 16.12.2019 18:31
question
English, 16.12.2019 18:31
question
Biology, 16.12.2019 18:31
Questions on the website: 13722363