Which of the following is a valid class declaration?

Which of the following is a valid class declaration?
A. class A { int x; };
B. class B { }
C. public class A { }
D. object A { int x; };
 

Tìm kiếm

Back
Top