Questions on OOPs

1. What is OOPs? Ans. OOPs stands for Object Oriented Programming specifications. It is a programming technique or paradigm in which every thing revolves around real world entities or objects. Main focus in this technique is on objects rather than actions and data rather than...
Share:

Difference between Interfaces and Abstract Classes

What is the differences between interface and abstract classes? This is one of the most widely asked question in an interview at any level. In this post we are going to focus on differences between interface and abstract classes, what are ideal situations in development for using these etc.  While designing a software or an API we don’t...
Share:

OOPs Concept - 5

What is encapsulation?  Encapsulation means wrapping up things in a single unit, it’s like a process through which capsules are created. In creating we mix up different medicines and wrap them in a single capsule. In OOPs data and functions, which operates on the data, are wrapped in a single unit called class. This is what encapsulation is. In...
Share:

OOPs Concept - 4

What is abstraction? Abstraction is one of the important concept in OOPs. Abstraction, basically means hiding unnecessary details and showing relevant information to users. Take for example, when we learn to drive a car we do not care about how it engines work, we only cares about how it's steering, brake and accelerator will work. We never get...
Share:

OOPs Concept - 3

What is Polymorphism? Polymorphism is one of the important principle of OOPs. In this post we are going to discuss about Polymorphism. This word has been derived from two words poly (which means many) and morph (which means forms), so Polymorphism means many forms. In OOP an object can exists in more than one form, which can happen when we have...
Share:

OOPs Concept - 2

What is Inheritance? Inheritance is another important concept of OOPs. In this post we will discuss about another important OOPs concept i.e. "Inheritance".  In general term it means something that is being inherited. When we write programs in OOPs languages like JAVA we can use this concept for creating relationships between classes. We can't...
Share:

Handling user inputs using Servlets - Part 4

This is the final part of "Handling user inputs using Sevlets". In the last post we have seen how we can create servlet which will handle our server side processing. To begin with we need to create an HTML page which will hold our sign up form. We have created sign_up.html...
Share:

Handling user inputs using Servlets - Part 3

How to create servlet? In previous two post we have learnt how to create forms and what are important things that needs to taken care of for proper form submission. From this post on wards we will be learning how to handle submitted form at server side in a servlet. I hope you have some knowledge of a servlet and if not then below is a short tutorial...
Share:

Handling user inputs using Servlets - Part 2

This post is in continuation of  first part of  "Handling user inputs using Servlets", if you haven't seen that post, I will request you to see that post first before continuing this post. In our first part of this topic, we have seen how to create form. In this post we will learn how form submission works and what are the important...
Share:

Handling user inputs using Servlets - Part 1.

In most of the websites and in all web applications there are forms for taking input from users. You may have seen form in "Contact Us" section of websites. Even if you are surfing on internet there are forms that you fills up for searching things on internet. Forms are the...
Share:

Popular Posts

Recent Posts

Followers

Total Pageviews