Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What?s the difference between an interface and abstract class?

Answers were Sorted based on User's Feedback



What?s the difference between an interface and abstract class?..

Answer / guest

In the interface all methods must be abstract, in the
abstract class some methods can be concrete. In the
interface no accessibility modifiers are allowed, which is
ok in abstract classes

Is This Answer Correct ?    6 Yes 0 No

What?s the difference between an interface and abstract class?..

Answer / dj

a class can inherit multiple interface where as
a class can inherit only one abstract class

Is This Answer Correct ?    6 Yes 0 No

What?s the difference between an interface and abstract class?..

Answer / adhi

thanxs for your Contribution...I have got one more
diff.. ...Derived Class or Child Class should implement the
methods and properties in interface that are implementing
interface where as it is not manditory in case of Abstract
class

Is This Answer Correct ?    2 Yes 0 No

What?s the difference between an interface and abstract class?..

Answer / pvschmurthy

In Abstract class must have one sub class, but Interface
cann't have sub class only implimentation class.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Sharp Interview Questions

Why do we use threads in c#?

0 Answers  


What is the use of list in c#?

0 Answers  


What is covariance and contravariance? Did Delegate and method overriding support these?

1 Answers   TCS,


What can we do to handle multiple exceptions?

0 Answers   Accenture,


What is a lambda expression in c#?

3 Answers  


Explain About a class access specifiers and method access specifiers.

0 Answers  


Why do we need singleton class in c#?

0 Answers  


An Array is a Ref Type? what about the array elements which are value type(int,Float...etc)?

6 Answers  


hi, I am a begineer to c sharp. I have written a code for finding out prime numbers. Can anyone identify what are the flaws in my code. Kindly donot complex the code or present logic because i am new to c sharp and just started learning programming language.Thanks in advance. class Program { static void Main(string[] args) { int a,b=1; a = int.Parse(Console.ReadLine()); c= int.Parse(Console.ReadLine()); if (a % b == 0 && a % 2 != 0 && a % a == 0) Console.WriteLine(a); else if (a % b == 0 && a % 2 == 0) Console.WriteLine(a%2); Console.WriteLine("Number is not PRIME"); Console.ReadLine(); } } }

2 Answers  


What is window application in c#?

0 Answers  


Is XML case-sensitive?

3 Answers   Wipro,


Explain how is the dll hell problem solved in .net?

0 Answers  


Categories