Quiz
Would it be useful to have private constructors ?
Why multiple inheritance is considered a bad thing ?
Find three possible Interfaces for an object and name them following the convention.
Where are the errors on the following lines of code?
public abstract class Animal {
private int fweight=0;
abstract public setWeight(int w) { }
}
public class Dog extends Animal {
public void setWeight(int w) {
fweight = w;
}}
-