WHAT IS ABSTRACT DATA TYPE

Answer Posted / hemanthkumar

Abstract is a keyword ,when we use abstract keyword to a method then it is called abstract method,which doesn't having any implementation(having only structure)
if a class having 1 or more abstract methods then that class is called abstract class
ex:
abstract class cal
{
abstract sum()
{}
sub()
{
//implementation
}
}

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is typedef struct in c?

794


Why do we need volatile in c?

939


Explain what are multidimensional arrays?

825


What is wrong with this declaration?

838


What was noalias and what ever happened to it?

780


Why use int main instead of void main?

854


4. main() { int c=- -2; printf("c=%d",c); }

1565


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1233


What are the types of operators in c?

801


What is sorting in c plus plus?

745


What are the types of c language?

774


hi, which software companys will take,if d candidate's % is jst 55%?

1865


Explain the properties of union.

824


What is dynamic variable in c?

784


What is meant by realloc()?

901