Article View: comp.lang.java.programmer
Article #299Re: Bizarre import weirdness
From: Ron Albright
Date: Tue, 04 Dec 2001 23:21
Date: Tue, 04 Dec 2001 23:21
40 lines
2335 bytes
2335 bytes
On Tue, 4 Dec 2001 22:56:01 -0000, Jon Skeet
<skeet@pobox.com> wrote:
>
>I'm saying that you there is no difference in the compiled class file
>between:
>
>import java.util.*;
>public class Test
>{
> Vector v = new Vector();
>}
>
>and
>
>public class Test
>{
> java.util.Vector v = new java.util.Vector();
>}
>
This in no way explains why the second import statement
below is not sufficient for the compiler to locating the
base class. It implies that the second statement is
sufficient.
//import com.greenbird.persistence.PersistentRdbmsObject;
import com.greenbird.persistence.*;
public class Jdbc_Test extends PersistentRdbmsObject
{
.....
}
Ron Albright
greenbird(at)KILLSPAM.pobox.com
______________________________________________________________________________
Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net
Technical Details
Message-ID:
<8hmq0u0cuep9sdg39tvq5ca01b9al6gaif@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!corp-goliath.newsgroups.comReferences:
<612q0uggd5qbghbdj3dm16vet63el85a34@4ax.com> <MPG.1677224fb3f43e5198a676@mrmog.peramon.com> <2fbq0uc3fvvu49ro53j1pq2mip7nff83bg@4ax.com> <MPG.167764de8d36fdc398a67c@mrmog.peramon.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,b03b9f2c50f270a6 X-Google-Attributes: gid10a146,public X-Google-Thread: fa3e3,b03b9f2c50f270a6 X-Google-Attributes: gidfa3e3,public X-Google-ArrivalTime: 2001-12-04 15:21:34 PST From: Ron Albright <moron(at)pobox.com> Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.ide Subject: Re: Bizarre import weirdness Date: Tue, 04 Dec 2001 17:21:16 -0600 Reply-To: moron(at)pobox.com Message-ID: <8hmq0u0cuep9sdg39tvq5ca01b9al6gaif@4ax.com> References: <612q0uggd5qbghbdj3dm16vet63el85a34@4ax.com> <MPG.1677224fb3f43e5198a676@mrmog.peramon.com> <2fbq0uc3fvvu49ro53j1pq2mip7nff83bg@4ax.com> <MPG.167764de8d36fdc398a67c@mrmog.peramon.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 127.0.0.1 Lines: 40 X-Authenticated-User: 2119790 X-Comments: This message was posted through Binaries.net X-Comments2: IMPORTANT: Binaries.net does not condone, nor support, spam or any illegal or copyrighted postings. X-Report: Please report abuse to <abuse@Binaries.net> Organization: Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!corp-goliath.newsgroups.com