SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




vb / asp.net Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

C# - What is an abstract class?

        

Reply
 
LinkBack Thread Tools Display Modes
Old 25-01-07, 10:16 PM   #1 (permalink)
Junior Member
 
preethisingh's Avatar
 
Join Date: Jul 2006
Posts: 1,391
Thanks: 1
Thanked 32 Times in 29 Posts
Rep Power: 20 preethisingh is a jewel in the rough preethisingh is a jewel in the rough preethisingh is a jewel in the rough preethisingh is a jewel in the rough
C# - What is an abstract class?

What is an abstract class?

preethisingh is offline Offline   Reply With Quote
The Following User Says Thank You to preethisingh For This Useful Post:
jivanr (09-05-07)
Old 04-04-07, 09:49 AM   #2 (permalink)
Junior Member
 
jivanr's Avatar
 
Join Date: Jan 2007
Location: Chennai
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 4 jivanr is on a distinguished road
Re: C# - What is an abstract class?

Quote:
Originally Posted by preethisingh View Post
What is an abstract class?
A class that should never be instantiated; only its subclasses should be instantiated. Abstract classes are defined so that other classes can inherit from them


Regards
Jeevan
jivanr is offline Offline   Reply With Quote
The Following User Says Thank You to jivanr For This Useful Post:
Old 04-04-07, 09:51 AM   #3 (permalink)
Junior Member
 
jivanr's Avatar
 
Join Date: Jan 2007
Location: Chennai
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 4 jivanr is on a distinguished road
Re: C# - What is an abstract class?

An abstract class contains at least one pure virtual function.


class AB {public: virtual void f() = 0;}; RegardsJeevs
jivanr is offline Offline   Reply With Quote
Old 24-05-07, 11:03 PM   #4 (permalink)
Junior Member
 
Join Date: May 2007
Age: 27
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 more.sharath is on a distinguished road
Re: C# - What is an abstract class?

abstract class is a class having at least one abstract method which does not have any functionality(code) in it.
The functionality will be given by its derived classes, until we derive a class to it we can't use the abstract method.
more.sharath is offline Offline   Reply With Quote
Reply

Tags
abstract , class


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Abstract class padmajap_kiran JAVA Technologies 6 22-01-07 04:46 PM
ABSTRACT CLASS? radhika743 JAVA Technologies 5 08-01-07 10:52 AM
java JSP naga JAVA Technologies 4 21-08-06 04:03 PM
reply to abstract class question5 kavithaethiraaj JAVA Technologies 0 18-04-06 03:29 AM
JAVA PART3 naga JAVA Technologies 0 18-02-06 07:48 AM


All times are GMT +6.5. The time now is 05:09 PM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.2