83.3k views
1 vote
Code put in the second section of a class:

A. Is executing continuously

B. runs the first time a game runs only

C. is used to connect the code to the right namesscape

D. Is used to describe the class

User Biomancer
by
5.9k points

2 Answers

4 votes

Answer:

C. is executing continuously

User Sunriser
by
5.7k points
1 vote

Answer:

D. Is used to describe the class

Step-by-step explanation:

If we create a class, we must describe our processes, we could use this class to run different operations in programming.

For example:

We're going to create the class CAR, then we will create attributes and functions.

class car{

//attributes

//With attribute, we described our class car, we could add more definitions for example doors, motor, or high.

public int wheels;

public string model;

//With functions, we can create an action for our class car, in this case, our car can run and stop.

//functions

public void run;

public void stop;

}

User Boontawee Home
by
5.8k points