What is wrong with the code above?

```
class Radio
{
private:
int presets = 15;
bool FM = true;
double cost = 35.95;
public:
Radio( );
};

```

A. Nothing is wrong with the code.
B. Cannot assign values in class declaration.
C. The constructor does not initialize variables.
D. B and C.

B. Cannot assign values in class declaration.

Computer Science & Information Technology

You might also like to view...

Which of the following is a guideline?

A. A document that states that user actions should be monitored B. A document that mandates which user actions should be monitored C. A document that covers exactly how to configure auditing D. A document that covers how to handle security breaches

Computer Science & Information Technology

Case-Based Critical Thinking Questions ? Case 1-2 Kamilla is creating a presentation about her family for a homework assignment. Her friend Ivan, a PowerPoint 2016 expert, is helping her. ? ? Kamilla has run out of room on her computer's hard drive, so Ivan helps her uploadĀ the file to her account on ____, Microsoft's free online storage area.

A. OneView B. OneDrive C. CloudView D. CloudDrive

Computer Science & Information Technology