Category Archives: 10/23

Blog 6: OOPs concept forms response

Today I read a blog by infocampuspvt which is blog site that has people post about what they want anonymously. Anyways, today the blog I read was about OOPs (Object Oriented Programming) concept forms in Java.

OOPs, or object oriented programming, has mainly six concepts being: object, class, inheritance, polymorphism, abstration and encapsulation. First with the object, the blog gives a scenario and describes objects that way which was a nice way of bringing real life objects for describing a part of programming. The blog ended objects by saying always remember that they consist of state and behavior. Next was class which the blog said was a logical collection of the objects and went on with the example the person created in the object paragraph. Next was inheritance where it states that it is a special type of relationship where a class acquires the inherent properties of its parent class and it contains its own exclusive properties. After inheritance, it was polymorphism which is having multiple forms and goes on to talk about a whole other scenario with a cricket. Polymorphism is implemented in two ways which is method overriding and method overloading. Abstraction is hiding the complexity and showing the easier form of the system. After a whole other real world example, the person says there are also two ways to implement abstraction being using interfaces and an abstract class. Last but not least is encapsulation which is data-hiding in order to make it safe for any modification and the example the person uses is a pill capsule.

I honestly think this is the best blog that I have chosen yet for these blog entries and I’ll tell you why. One, the person who wrote this blog entry gives you a clear and concise definition of each of the six OOPs helping a person who barely knows anything in computer science understand what is actually going on when these things occur in a program. Second and actually most importantly, the examples were really good, when I was learning these concepts in my first years of programming, I wish someone explain it to me like the person did in this blog as it was extremely helpful to understand what is going on using real life objects that people use in their daily lives to describe the events. With polymorphism, when I first learned that, I really had no clue what I was supposed to be doing or what these overrides/overloading did with my program, after reading the paragraph on polymorphism and the example the person provided with the cricket and the fast blowers, and such, I understand it way better. Lastly what made the blog really good, was that it was short and straight to the point. The blog didn’t create very long descriptions that would make the reader bored after reading the first two paragraphs, the writer made them concise and easy to read and understand. This blog will help me write future programs definitely, I know my teachers and future employers are going to ask me to do certain OOPs like polymorphism or abstraction and before maybe I wouldn’t have been that confident but after reading the blog, I’m a little more confident in my ability to do it. Thank you for reading my blog today, come back next week for some more programming talk.

Source: https://infocamblog.wordpress.com/2017/10/13/oops-concept-forms-the-basis-of-java-programming-language/

From the blog CS@Worcester – Benderson's Blog by bendersonsblog and used with permission of the author. All other rights reserved by the author.