:: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


Question explain oops concepts with examples?
 Question Asked In Companies :: DELL, HCL, Satyam, TCS, Wipro, VLS,     < I also faced this Question! >
 Question Submitted By :: ramanareddy333
  Answer Posted By  
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

Simple Ex.

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
your relatives.

Is This Answer Correct ?    100 Yes 30 No

  vikram chandra
View All Answers
Please Help Members By Posting Answers For Below Questions
 Question Views   Select
What is procedure overloading? 612
What methods are used in Servlet?Applet communication? 626
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 invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example 900
what is the use of bean managed and container managed with example? 428
java Technical questions asked by JPMC 2877
who can i handle multiple client in RMI 326
How to implement a multithreaded applet? 993
make a method which any number and any type of argument and print sum of that arguments..... 322
please send me hr interview questions in it industry 451
java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is? 92
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 question.pls 353
os is developed in c no java is more secured then c na why dont the os developed is developed using java 1951
why java does not support unsigned keyword? 1889
Can we call virtual funciton in a constructor ? 545
E-Mail New Answers        Answer Selected Questions