• Post Reply Bookmark Topic Watch Topic
  • New Topic

Package principles!!  RSS feed

 
shweta dibbi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the SOLID principles in Object Oriented Programming.

But didnt understand what exactly these package principles are all about.

Does anybody have idea about the package principles?




Thanks,
Shweta
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Packages are used to arrange classes into a logical unit for easy understanding. Read here further for technical details.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
package principles? do you mean packages ?
 
shweta dibbi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seetharaman Venkatasamy wrote:package principles? do you mean packages ?


It's package principles. It says how our classes have to be packaged.

Some of them are:
>CCP(Common Closure Principle)
>CRP(Common Reuse Principle)

You can have a look into the pdf at this link

I am not clear with the concepts. If you understand please do help me.


Thanks,
Shweta
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!