[5677] in java-interest

home help back first fref pref prev next nref lref last post

Re: [Mac] Constructor Problem

daemon@ATHENA.MIT.EDU (Walter Szewelanczyk)
Thu Feb 22 00:52:21 1996

From: "Walter Szewelanczyk" <Walter@adco.com>
To: senelson@mediacity.com (Steve Nelson), java-interest@java.sun.com
Date: Wed, 21 Feb 1996 23:25:53 +0000

Hi Steve,


Constructors do not have a return type.  You have public void Jubal 
The compiler treats this as a method Jubal in the class Jubal but not 
its constructor.  try :
public Jubal(int newX, int newY, int newHeight, int newWidth) 


Hope this helps,

Walt

********************************************************************************************
Walter Szewelanczyk					Technical Director 
Walter@adco.com						NET VENTURE, Inc.
http://www.adco.com					RR1 Box 1168A 
(207) 737-8205						Richmond, Maine 04357

	"One must stay in a very RIGID state of FLEXIBILITY"

********************************************************************************************
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post