🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14915

Really simple question

#14915
From: Pete Blacker
Date: Sat, 17 Jul 1999 00:00
20 lines
937 bytes
Hi

How do you define an abstract class. The code I've got at the moment
looks like this

-----------
package Kernel;

public class MyClass
{
public abstract boolean Save(FileWriter File);
}
-----------

This produces the error class Kernel.MyClass must be declared abstract.
In C++ you declared any virtual function as pure and the class became
abstract. How does this work in Java?
Thanks.

Pete Blacker
Technical Details
Message-ID: <3790A080.BB89BD7F@comicjunk.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,231bed597c998f1b,start
X-Google-Attributes: gidf74b3,public
From: Pete Blacker <pete@comicjunk.com>
Subject: Really simple question
Date: 1999/07/17
Message-ID: <3790A080.BB89BD7F@comicjunk.com>
X-Deja-AN: 502112200
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language