Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Eels on Dec 16, 2016



Title: Look at the following code. Which line will cause a compiler error?Line 1 public class ClassALine ...
Post by: Eels on Dec 16, 2016
Look at the following code. Which line will cause a compiler error?

Line  1  public class ClassA
Line  2  {
Line  3    public ClassA() {}
Line  4    public int method1(int a){}
Line  5    public final int method2(double b){}
Line  6  }
Line  7  public ClassB extends ClassA
Line  8  {
Line  9    public ClassB(){}
Line 10    public int method1(int b){}
Line 11    public int method2(double c){}
Line 12  }

A) 5
B) 4
C) 11
D) 10


Title: Re: Look at the following code. Which line will cause a compiler error?Line 1 public class ...
Post by: blithering on Dec 18, 2016
Content hidden


Title: Re: Look at the following code. Which line will cause a compiler error?Line 1 public class ClassALine ...
Post by: Eels on Jan 31, 2017
This brought my confidence back up, thanks


Title: Re: Look at the following code. Which line will cause a compiler error?Line 1 public class ...
Post by: Esrăă Măzĕn Tăbăsh on Apr 2, 2021
thank you