Computer Science, asked by shreyanumang12, 6 months ago

Find out error in each case given below with reason:
(i) int public;
(ii) int a;b;c

Answers

Answered by ArpitMishra506
0

Answer:

(i) You can't use public as a variable because it is a Java keyword and Java keywords can't be used as variables.

(ii) You should write int a, b, c; instead of int a;b;c

.

.

.

.

HOPE THIS HELPS YOU

.

.

.

.

PLEASE MARK AS BRAINLIEST AND FOLLOW ME TOO

Answered by sp1825430
0

Answer:

ok

Explanation:

I hope its help you

please mark as brainlist

Attachments:
Similar questions