Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

How to invoke own customized package implicitly like java.lang

 
Robin Rath
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,
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.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.
 
    Bookmark Topic Watch Topic
  • New Topic