Page 1 of 1

Which of the following is a valid class declaration?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) class A { int x; };
b) class B { }
c) public class A { }
d) object A { int x; };