File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OOPS

 
Ajay Selvam
Greenhorn
Posts: 6
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic