Buy Questpond's video subscriptions on
huge discount
.
Online: 1910
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET
>
Loading ...
What concept does the above sample code demonstrate?
internal class Piston {}
internal class Engine
{
private Piston[] myPistons = new Piston[4];
public bool Ignition() {
//some code
}
}
public class Car
{
private Engine myEngine = new Engine();
public void Start()
{
//put in keys etc..
if (myEngine.Ignition()) {
//some more code
}
}
}
Posted by
Muhilan
on 12/7/2009 | Category:
ASP.NET Interview questions
| Views: 17380
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
Delegation
Composition
Polymorphism
Combination
All Above
Answer1 - 3
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
As a developer you are displaying product data fro ...
Next > :
Why Select clause comes after from clause in LINQ?
Comments or Responses
Login to post response
More Interview Questions by Muhilan
Latest Interview Questions
Why Select clause comes after from clause in LINQ?
What is FOR XML clause in SQL?
What is sp_XML_RemoveDocument procedure?
What is sp_XML_Preparedocument procedure?
What is XQuery?
Which are the five types of SQL table objects?
In your asp page, HTML tag and CacheControl will be specified…
What is the difference between the Theme and StylesheetTheme?
More ...