159k views
5 votes
1. provide at least 3 properties and 3 methods of the object computer.

OBJECT COMPUTER ↙ ↘

PROPERTIES 1. 2. 3.

METHODS 1. 2. 3

2. provide at least 3 properties and 3 methods of the object computer.

OBJECT Car ↙ ↘

PROPERTIES
1. 2. 3.

METHODS
1. 2. 3

Need help maam/sir thanks in advance 5stars for good answer

1 Answer

3 votes

Answer:

The answer to this question is given below in the explanation section.

Step-by-step explanation:

In this question, it is required to provide 3 properties and methods of the object computer.

As you know that in programming the properties are the features of the object and methods are the behaviors or actions performed by the object.

So the properties of object computer are:

  1. computerModel
  2. computerManufacturer
  3. computerCaseColor
  4. computerScreenSize

and the methods of object computer are:

  1. perfromCalculation()
  2. powerOnButton()
  3. chargeBattery()
  4. buttonClick()

.........................................................................................................

2.

The properties of the object car are given below

  1. carModel
  2. carManufacturerName
  3. carColor

The methods of the object car are given below:

  1. applyBreak()
  2. startEngine()
  3. changeGear()

User Jose Praveen
by
5.1k points