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
What is typedef struct in c?
Why do we need volatile in c?
Explain what are multidimensional arrays?
What is wrong with this declaration?
What was noalias and what ever happened to it?
Why use int main instead of void main?
4. main() { int c=- -2; printf("c=%d",c); }
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What are the types of operators in c?
What is sorting in c plus plus?
What are the types of c language?
hi, which software companys will take,if d candidate's % is jst 55%?
Explain the properties of union.
What is dynamic variable in c?
What is meant by realloc()?