Answer:
The answer to this question can be given as:
code:
class CollegeCourse
{
String Dept;
int CourseNumber;
double Credits;
double fee;
}
Explanation:
We all know that class is a collection of data members and member functions. In the above code we use the following syntax for class declaration that can be given as:
Syntax of class declaration :
class class_name
{
data member & member function
}
In the above code firstly we declare a class that is CollegeCourse. In this class, we define a variable that name and datatype is already given in the question that is String Dept, int CourseNumber, double Credits, double fee. In the variables first variable data type is string. It is used for store string value like ('us','xxx','aaa').The second variable datatype is an integer. It is used for store integer value like (1,23,5,56). The third and fourth variable datatype is the same that is double. This data type is used to store the floating-point value.
Yes you do have to program it first.
Answer:First of all, to work safely at the internet you should avoid any not secure page, and if you can’t do that, avoid entering stuff such as credit cards or passwords on this sites. Now, to work safely it’s recomendable to have a VPN(virtual private network), that hides your IP direction.
Explanation: