Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

=+Which appear to be among the most promising or successful?

Answered: 1 week ago