Which Among The Following Is Proper Syntax For Class Given #282

Which among the following is proper syntax for class given below?</p> <pre><code class="language-cpp"> class A { int a,b; public : void disp(); } </code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Class Members & Types - Object Oriented Programming MCQ: Member Functions - Quiz No.2.

Which among the following is proper syntax for class given below?

 class A { int a,b; public : void disp(); } 

Similar question(s) are as followings:



Online Quizzes of gs111 OOP Object Oriented Programming Java

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background