What is the most specified using class declaration?

Quang Hiếu

New member
What is the most specified using class declaration?
A. type
B. scope
C. type & scope
D. none of the mentioned
 
Answer: c
Explanation: General form of class declaration in C# is :
class class_name
{
member variables
variable1;
variable2;
variableN;
method1(parameter_list)
{
method body
}
method2(parameter_list)
{
method body
}
methodN(parameter_list)
{
method body
}
}
 

Tìm kiếm

Back
Top