the constructor definition is its return type (because the name of the
constructor must be the same as the class)

carl

-----Original Message-----
From: Ramesh Babu A. <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, December 07, 1998 11:42 PM
Subject: Overloaded Constructor !!!


>
>Hi,
>
> I read that in java, constructor should have return type.
>
> But if i overload the constructor, and compile it is working ?
>
> How ?
>
> pls reply if anyone knows ?
>
> Thanx.
>
>********************************************************************
> Ramesh Babu A.
> FiLL Project,
> TeNet Group,                               <[EMAIL PROTECTED]>
> IIT - Madras.
>********************************************************************
>
>

Reply via email to