Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reusability

 
dhara velury
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am learning Java. Inthe OOP chapter at the excercises they gave a question Why java language is Reusable? I didn't get answer for that..As it follows OOP..? I appreciate if anybody could get back to me on this. Thank you in anicipation.
 
Don Bosco
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Inheritance and Javabeans are the main sources of code reusability in Java.
 
Sanjay Saxena
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does Javabean makes it re-usable?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check out Java Beans tutorial : Java Beans, Part 1 : Reusable Software Components
Sidenote:
I might move this dicussion somewhere else as JavaBeans are not part of the SCJP exam. It depends on how interesting the discussion will get over time I let it be for the time being since OO fundamentals may as well be useful for some SCJP aspirants.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic