What is wrong with the following code?

```
class TVset
{
private:
int screen;
bool HiDef;
public:
TVset( ){};
int Getscreen(int scr);
};
int main( )
{
TVset myTV;
return 0;
}

```

A. Nothing is wrong with this code.
B. the constructor does not initialize private values.
C. there is a semi-colon after the class declaration.
D. There are no set or get functions.


A. Nothing is wrong with this code.

Computer Science & Information Technology

You might also like to view...

The data rate for T3 is which of the following?

What will be an ideal response?

Computer Science & Information Technology

Your Twitter profile page can be seen by anyone who clicks your ________ on the Twitter site

Fill in the blank(s) with correct word

Computer Science & Information Technology

The DragonWare Suite surveillance package contained not only Carnivore but also Coolminer and ________

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

______ is a collision-resolution scheme that searches the hash table sequentially, starting from the original location specified by the hash function, for an unoccupied location.

a) Linear probing b) Quadratic probing c) Double hashing d) Separate chaining

Computer Science & Information Technology