subject

List and explain the error in the code public class animal { private string type; public animal(string atype) { type = atype; } public void makenoice() { if (type == "dog") { system. out. println("woof"); } else if (type == "cat") { system. out. println("meow"); } } }

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
You know the right answer?
List and explain the error in the code public class animal { private string type; public animal(str...
Questions
question
Social Studies, 07.10.2019 18:20
question
Computers and Technology, 07.10.2019 18:20
Questions on the website: 13722361