This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Packages and Classpaths  RSS feed

 
Anand Reng
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am really confused with the concept of classpaths and packages. I am almost getting every question wrong or taking long time to solve.
Can anyone explain me the fundamental concepts of Classpaths/packages/Jar files.
And Is there any concept specific to Packages when dealing with a classpath where you need to mention the location of the parent folder of the package?

Any help is much appreciated.

Thank you!



 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anand, Classpath (Java) is nicely written.

Regards,
Dan
 
Anand Reng
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dan!, I am slowly getting close to it.

I found some set of rules in Forum for method overloading. Is there any similar rules for classpath search?
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anand,

When it comes to the classpath, one and only one class should be defined unlike the method overloading paradigm.

Regards,
Dan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!