Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: oops
i need a project which has used oops concept.I was asked questions in interview:
 
1.where you have used abstraction in your project.
2.why we require runtime polymorphism.
3.what we can do with abstract class that we can't do with interfaces.
4. Without oops concept ,how we were working on the projects before.
 
Please help me ....
Posted 23-Nov-12 19:36pm
Comments
ridoy at 24-Nov-12 0:58am
   
Google will answer you better..
Richard MacCutchan at 24-Nov-12 5:07am
   
There are lots of samples in the CodeProject Articles section.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The answers in brief:
 
1) Most of them.
2) Because without it we can't override methods.
3) Can can provide working methods and properties.
4) Personally, with very long and complex function names...
 
And I do realize that these answers aren't a lot of help to you, unless you already understand the answers, and that any interviewer is going to want you to say a heck of a lot more than this.
 
We can't get you though an interview. These four questions are very unlikely to come up in an interview again, unless you wear a false moustache and apply for the same job under a different name. If you do not know the answers to these questions yourself, then you need to go back to the basics of C# and learn how it works properly - because next time the questions will be on very different parts of the OOPS concept.
 
Sorry, but that is the way the world works.
  Permalink  
Comments
surendra00 at 24-Nov-12 1:54am
   
that's why , i am asking about sample project through which i can easily understand the implementation of oops concept.....Please sir provide me such source code...please please please
OriginalGriff at 24-Nov-12 2:33am
   
A source project will not help you understand treh basic concepts - they are not clearly labelled as "Abstraction", "runtime polymorphism" and so on. Real projects assume you know this stuff, and do not use the terms in the code!
Read your course notes.
Try to understand the concepts, so you can answer the questions in future - looking at code will not help you with that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 24 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100