C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: HimaBindu Veeramachaneni       Member Level: Diamond       Posted Date: 30 Jun 2006       Category: C#

Consider the following code.

class BaseClass
{
// code here
}
Interface iBase
{
//some methods
}

class derivedClass : iBase,BaseClass
{
// You define some methods
}



Select Answer:

. It will give Error, C# does not support multiple inheritance
It will give runtime error
It will work fine.
Results in a compilation error saying BaseClass is not an interface.




      
Your Test Score: 0 / 0



Next Question: abstract class BaseClass { public virtual void show() { } public void dispay() { Console.Write("hello"); } } class Derive : BaseClass { public override void show() { } } What's the output?
Previous Question: . class Class1 { static void Main(string[] args) { Console.Write("hello..."); } void Main() { Console.Write("hello...u"); } void Main(int x) { Console.Write("hello..."+x); } } What is output of the following Program?
Related Questions:
  • Dock Property in Windows Application


  • array is acollection of --------datatypes


  • 'Reflection' is used to _______________________


  • The C# keyword ‘int’ maps to which .NET type?


  • Which of the following is wrong with regards to Out keyword


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use