A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
How to invoke own customized package implicitly like java.lang
Joined: Jan 07, 2008
Jan 14, 2008 02:37:00
I want to write a package that should be imported automatically like java.lang. Can anybody help me!Its urgent please reply me soon, I will be greatfull to you.
Joined: Mar 22, 2005
Jan 14, 2008 02:54:00
That's not possible. (And if it were, it would be a functionality of the compiler, not the code you create.) What's the big deal with having an import statement in a source file?
Joined: Oct 29, 2001
Jan 14, 2008 06:49:00
Please do not post the
more than once. It causes confusion and duplication of effort as the community tries to help everyone.
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: How to invoke own customized package implicitly like java.lang
can we add our own package in java?
standard action doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015