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...


Where would you use Abstract class and Interface?

Answers were Sorted based on User's Feedback



Where would you use Abstract class and Interface?..

Answer / vijay

You can offer the best of both worlds, an interface and an
abstract class. Implementors can ignore your abstract class
if they choose. The only drawback of doing that is calling
methods via their interface name is slightly slower than
calling them via their abstract class name.

Is This Answer Correct ?    7 Yes 1 No

Where would you use Abstract class and Interface?..

Answer / chitresh

Interface is use where we known that all these functions
which are declared in interface is implemented somewhere if
we call that interface.and we can use abstract class where
we don't known how it is implemented in call function.

Is This Answer Correct ?    5 Yes 1 No

Where would you use Abstract class and Interface?..

Answer / mayank bhatnagar

Interface includes just the definition of methods whereas
Abstract Classes are just like classes and hold all
functionality of classes except certain features.
The only difference between Abstarct Classes and Interfaces
is the use.Abstract Classes were introduced becoz of
diamond problem in C,C++.You can only inherit these classes
but cannot instantiate(i.e. no object of these classes can
be created, there can be one or more methods abstact in
such classes).
Interfaces are public and can be used/inherited by multiple
classes which was not before possible.

Is This Answer Correct ?    3 Yes 2 No

Where would you use Abstract class and Interface?..

Answer / bala

nothing to say....

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More VB.NET Interview Questions

There are three versions of VB6--Learning Edition, Professional and Enterprise. Is VB.Net similar?

1 Answers  


How does you call and execute a SP in .NET?

2 Answers  


What are the different types of applications supported in .net (or) .net framework?

0 Answers  


Explain an assembly?

0 Answers  


What is "Friend" in VB.Net?

5 Answers  


Explain the advantages of migrating to vb.net?

0 Answers  


1.wht is satellite assembly??? 2.How Garbage Collector works can u explain ????

3 Answers   ABC,


Explain how the .net framework performs automatic memory management.

0 Answers  


Can you please explain the difference between dispose and finalize()?

0 Answers  


write a VB.net program to swap two numbers

5 Answers   Digitec, Student,


List the different types of assembly?

0 Answers  


IT openings for Experienced candiates for Java / .NET

1 Answers  


Categories