Click here to Skip to main content
15,897,273 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
JokeRe: Typical interview question about OOP... Pin
User 1106097922-Jan-16 6:07
User 1106097922-Jan-16 6:07 
JokeRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:16
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:16 
GeneralRe: Typical interview question about OOP... Pin
User 1106097922-Jan-16 13:14
User 1106097922-Jan-16 13:14 
GeneralRe: Typical interview question about OOP... Pin
Amarnath S22-Jan-16 6:12
professionalAmarnath S22-Jan-16 6:12 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:15
professionalJeremy Falcon22-Jan-16 6:15 
GeneralRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:18
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:18 
JokeRe: Typical interview question about OOP... Pin
englebart25-Jan-16 3:24
professionalenglebart25-Jan-16 3:24 
GeneralRe: Typical interview question about OOP... Pin
MSBassSinger25-Jan-16 6:34
professionalMSBassSinger25-Jan-16 6:34 
Abstraction is closely tied to encapsulation, but different enough from an architectural viewpoint.

Abstraction is the design of the class to be an abstract representation of some real world object (Person, Car, Critter, etc.). That is how the class interface is designed.

Encapsulation is how the implementation is encapsulated within the class, and not exposed.

I can abstractly represent a car as a Car class. The GasPedalPercentage property or the Start function have code behind the interface elements, which is encapsulated within them to abstractly produce their real world counterpart.

I understand that a lot of programmers may, in practice, do abstraction and encapsulation as one. But for me, it helps to use abstraction in the design work, and encapsulation in the implementation coding work.
GeneralRe: Typical interview question about OOP... Pin
PIEBALDconsult22-Jan-16 12:57
mvePIEBALDconsult22-Jan-16 12:57 
GeneralRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:15
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:15 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:18
professionalJeremy Falcon22-Jan-16 6:18 
JokeRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:20
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:20 
GeneralRe: Typical interview question about OOP... Pin
Eddy Vluggen22-Jan-16 6:20
professionalEddy Vluggen22-Jan-16 6:20 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:23
professionalJeremy Falcon22-Jan-16 6:23 
GeneralRe: Typical interview question about OOP... Pin
R. Giskard Reventlov22-Jan-16 6:21
R. Giskard Reventlov22-Jan-16 6:21 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:24
professionalJeremy Falcon22-Jan-16 6:24 
GeneralRe: Typical interview question about OOP... Pin
Eddy Vluggen22-Jan-16 6:29
professionalEddy Vluggen22-Jan-16 6:29 
GeneralRe: Typical interview question about OOP... Pin
PIEBALDconsult22-Jan-16 9:22
mvePIEBALDconsult22-Jan-16 9:22 
GeneralRe: Typical interview question about OOP... Pin
Eddy Vluggen22-Jan-16 11:32
professionalEddy Vluggen22-Jan-16 11:32 
GeneralRe: Typical interview question about OOP... Pin
R. Giskard Reventlov22-Jan-16 11:21
R. Giskard Reventlov22-Jan-16 11:21 
QuestionRe: Typical interview question about OOP... Pin
Eddy Vluggen22-Jan-16 11:30
professionalEddy Vluggen22-Jan-16 11:30 
AnswerRe: Typical interview question about OOP... Pin
R. Giskard Reventlov22-Jan-16 12:02
R. Giskard Reventlov22-Jan-16 12:02 
GeneralRe: Typical interview question about OOP... PinPopular
BillWoodruff22-Jan-16 6:22
professionalBillWoodruff22-Jan-16 6:22 
GeneralRe: Typical interview question about OOP... PinPopular
GuyThiebaut22-Jan-16 7:00
professionalGuyThiebaut22-Jan-16 7:00 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 7:02
professionalJeremy Falcon22-Jan-16 7:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   25 votes