inheritance
Hi. I need help with inheritance. Wen i click complie i get this error message ("cannot find symbol - constructor Camera(int)").
This is the code for the superclass:
public class Camera
{
private int id;
// added new attribute called description
private String description;
private int borrower;
// declare other attributes here
public Camera(int newId, String newDescription, int newBorrower)
{
id = newId;
description = newDescription;
borrower = newBorrower;
This is the code for the subclass:
public class DigitalCamera extends Camera
{
// declare extra attributes here
private int memorySize;
private boolean hasMainsAdapter;
public DigitalCamera(int newId, int newMemorySize, boolean newHasMainsAdapter)
{
super(newId);
memorySize = newMemorySize;
hasMainsAdapter = newHasMainsAdapter;
I am new to java, so i could use sum help. Many Thanks.

