This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OOPS

 
Ajay Selvam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am entirely new to java platform.
I need a help.I know the principles of OOPS.
Abstraction,Encapsulation,inheritance and polymorphism.
But,i need a example code for these principles to understand.
anyone please send me a simple code to understand the concepts.
Please anyone help me.

Thank you.
 
Ravikanth kolli
Ranch Hand
Posts: 179
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best way is to work it out rather than asking for examples. As you mention that you know what each of the terms mean, it should not be very difficult to get writing a little code.
If you need any explanations in that please do post your work and we are more than happy to help you.
 
Shashank Agarwal
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would recommend getting a book which talks about Data structures in Java. That's how I got the 'Aha' of OOPS (via C++ actually).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic