Question: Can you fix this error for me on line 1 im confused on it. java java +urn pra alis ctabis Riat. Oniline (1) I summer



+urn pra alis ctabis Riat. Oniline (1) I summer livey tm.jaya 1 public class Nun\} int u,,x0,y0, 8l. Takk It Create a main class IfTask 2t Declare int attritutes w, x,y,z VI Task-3: Create yeur conatrictor Bublic Nain(ant w0, int x, int y0 int z)t this. =x wi thits.x =x i. this. y=yi this. z=x 3. ff Task 4: Create a nethad ta return. the sum of the numbers public int getsuant return x+x+y+z b Task 5; Create a fethod to return the product of y and x public int getProdectaxtle return w a xi 1 /Itask 6: Create a nethod to return the product of x,y an Nun.javaz48: errorr class Main is public, should be public class Maint 1 etrot watiristese than 191=+,f,i= Worash 11. Ciniein yar tinitractar pociar fuctiot wiat in in we kat ald 1+if=0=11614+2=114lisiy=mint+1 antiat int antbieili- cetwox=+in=h potlar int poofperartanild Frtarko+arf Covile viats and ant w,4,y=t1 1f Task 31 . Create a bos ictains. frite di bet laie lot atritules on ta bo tois: x=1 teifax =10 thigey =1] thilsirar in proin ist getsunily P =+x+y+1 b pobtin at inethousetiosif. cetre = * of
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
