Question: Choose the correct option for the following code. class Student int a; public float a; } Error: same variable name can't be used twice O

Choose the correct option for the following code. class Student int a; public float a; } Error: same variable name can't be used twice O It is correct O Error : data types are different for same variable O Error : Public data type must come first o Type here to search In which access should a constructor be defined, so that obiect of the class can Og IA 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
