ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Can you explain what inheritance is and an example of when
you might use it?
 Question Submitted By :: Ramgopal Reddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can you explain what inheritance is and an example of when you might use it?
Answer
# 1
When you want to inherit (use the functionality of) another
class. Base Class Employee. A Manager class could be derived
from the Employee base class.
 
Is This Answer Correct ?    0 Yes 0 No
Ramgopal Reddy
 
  Re: Can you explain what inheritance is and an example of when you might use it?
Answer
# 2
a class which contains all the 
properties,methods,variables  of its parent class .., and 
this method of adopting from any class is called 
inheritance....
 
Is This Answer Correct ?    0 Yes 0 No
Shikhar
 
 
 
  Re: Can you explain what inheritance is and an example of when you might use it?
Answer
# 3
In Inheritance we can use one class property into another 
class..
using System;
class sample
{
public void display()
{
Console.WriteLine("C#");
}
}
class sample1:sample 
//(Inheriting the property of class sample in class sample1)
{
public void disp()
{
Console.WriteLine("C++");
}
}
class Test
{
public static void Main()
{
sample1 sm=new sample1(); //creating a object of sample1 
sm.display(); //accessing function of sample class
sm.disp();
}
i think dear u got ur write answer..
 
Is This Answer Correct ?    2 Yes 0 No
Sandeep
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?  6
what are the sitemap providers in Asp.net 2.0?  2
Types of authentications in ASP.NET ? Accenture5
What is WebService ? Tanla-Solutions6
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com Sapient4
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed. Syntax-Softtech2
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control? USi2
Is data can be edited in the Repeater control?  2
what is diference between the .net1.0 & .net2.0 ? EMax2
How do you turn off cookies for one page in your site? IBS2
what is diffrence between debug class and trace class in asp.net ?  2
How do you use css in asp.net?  4
Can you explain what inheritance is and give an example of when you might use it?  1
How do you register a .NET assembly? Microsoft3
How do you make your site SSL enabled ? Satyam2
what do machine key element in configuration file specify? TCS1
How many Directives r in ASP.NET?  4
I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do? Patni1
When a dropdownlist has been added by some records and it has been binded why it is not executing i'm facing this error pls help me ? if (is!pageposback) { arraylist books = new arraylist; books.add ("gone with the wind"); books.add ("rahulsriramprakash"); books.add ("vishal"); dropdowndisplay.datasource=books; dropdowndisplay.databind(); } The error is : 1) The dropdowndisplay does not exist. Netsweeper4
Difference between DataView and DataTable  3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com