Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Thu Oct 11 2001 11:12 am |
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu> |
Subject: Re: Changing FileBitReader |
|
|
you might get that error if you do something like this:
import java.io.*; public class XXX extends FileBitReader () { public XXX () { super(); // THIS LINE CAUSES THAT ERROR }; public XXX (String filename) throws FileNotFoundException { super(filename); }; };
if you try to call super(), it will try to call the default constructor of FileBitReader, which doesn't exist. and you get that error when you try to compile it.
hope that helps.
jason |
|