Question: Question 1 . ( 2 5 % ) Correet the syntax and logical errors number ( s ) and correct the error ( s )

Question 1.(25%)
Correet the syntax and logical errors number(s) and correct the error(s).
2. Claes Myclass
2.1
3. private int x;
4. Private int y;
5. Private static int count;
6. Public MyClass ();
7.1
8.,x=5;
9.,y=10;
11. Public MyClass (int a, b)
12.{
13.a=x;
14.,b=y
15.,1
16. public int void incrementCount()// increase count value by 1
17.,1
18. count - ;
19.,
20*1
 Question 1.(25%) Correet the syntax and logical errors number(s) and correct

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!