![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.04.2021 20:10 sjoel004
Create a Java class named Computer that represent a computer. The Computer class should include three private instance variables as follows:
• instance variable named brand that represent computer brand name. The type is String.
• instance variable named price that represent computer price. The type is double.
• instance variable named year that represent computer manufacturing year. The type is integer.
Your class should have the following operations (instance methods):
• a parameterized constructor that initializes the three instance variables with the parameter values.
• setter and getter methods for all instance variables.
Write a demo class named ComputerDemo which includes a main method to do the following:
• create two objects of type Computer.
• apply all instance methods on the two objects.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:10
When copying and pasting text, the first step is move your cursor type the text select the copy command select the paste command
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 23:00
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a.add symmetry b.create a unified publication c.provide consistency d.save money
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 17:30
Looking at the electroscope, describe how you can cause the two leaves at the bottom to repel each other and stay that way
Answers: 3
You know the right answer?
Create a Java class named Computer that represent a computer. The Computer class should include thre...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.11.2020 19:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.11.2020 19:10
![question](/tpl/images/cats/mat.png)
Mathematics, 06.11.2020 19:10
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 06.11.2020 19:10
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.11.2020 19:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 06.11.2020 19:10
![question](/tpl/images/cats/biologiya.png)
Biology, 06.11.2020 19:10
![question](/tpl/images/cats/istoriya.png)
History, 06.11.2020 19:10
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.11.2020 19:10
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)