[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] [Java] Hvor meget tages med i "import" ? -TAK!



Mon, 02 Oct 2006 23:46:59 +0200, Jesper Krogh <sslug@sslug> skrev:

I sslug.programmering, skrev Michael Schmidt:
Godaften
Hvorfor er det nødvendigt med begge af følgende import-sætninger for at få
event gjort tilgænglig?


 import java.awt.*;
 import java.awt.event.*;

Jeg troede "MotherClass.*" betød alt indeholdt i MotherClass...

Nej, det lister alt på "samme niveau".. altså ekspanderer stjernen ganske som ville ske hvis du havde klassefilerne i dit filsystem og du lavede en ls java/awt/*
OK. Mange tak.



--
Med venlig hilsen
/Zmit/
RLU # 314205


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-11-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *