View Single Post
Old 04-29-2004, 07:05 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
is java.util.Date more efficient than java.util.*

i'm probably splitting hairs here, but i would like to understand how this works.

when i import java.util.* , how does java handle this?

if i'm only using java.util.Date in this class, .. will the compiler only import the date class? or will it still import all other classes even though they are not being used.

hmm .. hope this makes sense. i'm sure you don't see any performance hits, but i want to understand how the compiler works a little better.

thanks
__________________
Mike
sde is offline   Reply With Quote