Question: Java Is there anything wrong with following code? Please explain. public class ClassB extends ClassA { public ClassB() { int init = 10; super(40); }
Java Is there anything wrong with following code? Please explain.
public class ClassB extends ClassA
{
public ClassB()
{
int init = 10;
super(40);
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
