Answer the following statements true (T) or false (F)

1. Consider the class and struct definitions below.
```
struct myStruct
{
int i;
double d;
};
class myClass
{
int i;
double d;
};
myStruct a;
a.i = 3;
myClass b;
b.i = 3;
```
2. The concept of class is central to Object Oriented Programming.
3. A class type cannot be used in some ways that a built-in type can be used
4. In defining a member function whose declaration is in a class, you use the dot
operator to specify that the member function being defined belongs in the class, as
```
class foo
{
public:
// other members
void output( );
// other members
};

void foo.output( )
{
/* whatever */
}
```

1. False
2. True
3. False
4. False.

Computer Science & Information Technology

You might also like to view...

The ________ button can be used to divide one cell into two or more

Fill in the blank(s) with correct word

Computer Science & Information Technology

With a _______ dialog box button, the circle is darkened when enabled

Fill in the blank(s) with correct word

Computer Science & Information Technology