1.

Which of the following is a valid class declaration?

A. object A { int x; };
B. public class A { }
C. class A { int x; };
D. class B { }
E. None of these
Answer» D. class B { }


Discussion

No Comment Found

Related MCQs