Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Java > Core Java

Core Java Core Java Interview Questions, Learn by sharing Core Java Interview Questions asked in various companies, Get Career advices, Interview Procedures from Core Java experts, Post asked Core Java Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2008, 05:34 AM
Junior Member
 
Join Date: Jun 2008
Posts: 6
Question Real time example of Abstraction?

can you give me real time example of Abstraction?
Reply With Quote
  #2 (permalink)  
Old 06-17-2008, 11:52 AM
Junior Member
 
Join Date: Jun 2008
Posts: 14
Default

Eg: Cat

This can walk,eat,sleep
Reply With Quote
  #3 (permalink)  
Old 06-26-2008, 03:50 AM
Junior Member
 
Join Date: Jun 2008
Posts: 2
Default

I don't think so muddam .you are telling about polymorphisam. one object with diffferent actions

Abstraction means just view of an object hidding the implementaion details .

For example take an object CAR .we are only concern with the color of the car,stearing,breaks... but not internal implementaion of the object sviz.. how breaks are interlinked with gear and so on......
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 09:17 AM
Junior Member
 
Join Date: Jul 2008
Posts: 5
Default

lakshmikanth is right muddam....
Reply With Quote
  #5 (permalink)  
Old 07-22-2008, 03:11 PM
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default here the answer is

actually abstraction means Hidding unnecessary data from the users details

Real Time example:TV Remote Button

in that number format and power buttons and other buttons
there.just we are seeing the butttons,we don't see the
button circuits.i.e buttons circutes and wirings all are
hidden.so i think its good example
Reply With Quote
  #6 (permalink)  
Old 09-12-2008, 05:26 AM
Junior Member
 
Join Date: Sep 2008
Posts: 1
Default

ATM is also a good example for abstraction, we doesnt know what are all the internal processes that are going when we access that.. we know only the the enquiries, deposit, withdrawl etc...
Reply With Quote
  #7 (permalink)  
Old 10-19-2008, 06:52 AM
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default

abstraction is nothing but it pocess providing nesccery attribute and operation and it is hidding unreleated attribute and operation
real time example tv remote
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On