🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How are classes loaded?

#20133
From: Steve Schafer (TeamB)
Date: Sun, 26 Oct 1997 00:00
17 lines
975 bytes
On Fri, 24 Oct 1997 16:26:53 -0700, Mark Hunter <markh@dpsla.com>
wrote:

>When is a class loaded? I assume it is not loaded until it's actually
>instantiated, or if it has static methods.

When first referenced, either statically or because an instance of
that class is being created. Even if a class contains static code,
that code is not executed until the class is referenced.

>Is it appropriate to think of classes the way you might think of 
>Windows DLLs?

That's probably a reasonable analogy.

-Steve
Technical Details
Message-ID: <347c933a.11772996@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34512EBD.7A9C@dpsla.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6b9468cccb5acc8d
X-Google-Attributes: gidf74b3,public
From: pandeng@telepath.com (Steve Schafer (TeamB))
Subject: Re: How are classes loaded?
Date: 1997/10/26
Message-ID: <347c933a.11772996@forums.borland.com>
X-Deja-AN: 285155059
References: <34512EBD.7A9C@dpsla.com>
Organization: TeamB
Reply-To: pandeng@telepath.com
Newsgroups: borland.public.jbuilder.java.language