OOP is Nothing but Object Oriented Programming.
In OOPs concept is implimented in our real life systems.
OOPs have following features
1. Object - Instance of class
2. Class - Blue print of Object
3. encapsulation - Protecting our data
4. polymorphism - Different behaviors at diff. instances
5. abstraction - Hidding our irrelavance data
6. inheritence - one property of object is aquring to
another property of object
Please assume u standing near a car. How to impliments our
OOPs concept for this scenario ?
car is a object b'coz it having more functions.
car is a class b'coz it contain more parts and features
car is a Encapsulation B'coz it protected some unwanted
parts or functions to user
car is a Polymorphism b'coz it have different speed as
display in same speedometer
car is a Abstraction b'coz it hidding more parts by coverig
such as engine,disel tank
car is a Inheritance b'coz one car is a property of more
people. i mean your car is driving bu you, your friend and
Please Help Members By Posting Answers For Below Questions
can any body body expalin best definitions & best real time
exaples for opps concepts.
how to one war file class to another war file class?
which one is more efficient
state which one either 1 or 2?
Write a java program to find the route that connects
between Red and Green Cells.
General Rules for traversal
1. You can traverse from one cell to another
vertically, horizontally or diagonally.
2. You cannot traverse through Black cells.
3. There should be only one Red and Green cell and at
least one of each should be present. Otherwise the array is
4. You cannot revisit a cell that you have already
5. The maze need not be in the same as given in the
what is the use of pojo (plain old java objects)?
how it is interact with crystal reports? pls urgent
How listener identify that the event came from a particular
make a method which any number and any type of argument and print sum of that arguments.....
What is Applet Stub Interface ?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
Howto get an object that will perform date & time calculations
then format it for output in some different locales with
different date style.can ne1 tel me the answer of this
we have syntax like for(int var : arrayName)
this syntax is to find whether a number is in the array or
not.but i want to know how to find that number's location.
For ease of programming you can consider the maze as a 2D
array with colors represented by below integer and
characters (in capital letters).
• B - Black
• W -White
• G- Green
• R- Red
R B W B W W W W
B W B B W W W W
W B W B W W W B
W W B B W W W B
W B W W B B B B
W B W W B W W W
W W B B B W W B
W B W W B W B W
B W B W W W W B
W W W B W W W W
Shortest Route Problem:
• Solution that finds the shortest Route between Red
 White will have 1 Weight.
 Red and Green carry no weights.
 Shortest path is the path with less weight when you
add up the weights in the path.
hr interview how many minutes asking question
take an array with -ve and +ve value both.find out the
nearest value of 0(zero).if two values are same like(-2 and
+2)then extract +2 is nearest of 0(zero).