Question: public class ClownFish { int gills = 0 , double weight = 2 ; { int fins = gills; } void print ( int length
public class ClownFish
int gills double weight;
int fins gills;
void printint length
System.out.printlngills;
System.out.printlnweight;
System.out.printlnfins;
System.out.printlnlength;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
