Question: Task 1: [01-03][5+5+5=10 Marks] Q1. Find the syntax errors in the definition of the following class: [01][2.5 Marks) public class Sample{ private int i; private
![Task 1: [01-03][5+5+5=10 Marks] Q1. Find the syntax errors in the](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66def3c7d7c9c_43166def3c7751a7.jpg)
Task 1: [01-03][5+5+5=10 Marks] Q1. Find the syntax errors in the definition of the following class: [01][2.5 Marks) public class Sample{ private int i; private j; private int c; public void print{ System.out.println(i + ". '+j): } public sum({ return itits: } Rublic int SampleO{ i=0; j = 0; } public Sample(int a, double b, intc){ a=i j= b; C=C; Error Corrected Statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
