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
Are the expressions * ptr ++ and ++ * ptr same?
which is an algorithm for sorting in a growing Lexicographic order
Differentiate between full, complete & perfect binary trees.
Why is c called "mother" language?
What is the right type to use for boolean values in c? Is there a standard type?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What are the storage classes in C?
cavium networks written test pattern ..
using for loop sum 2 number of any 4 digit number in c language
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is null pointer in c?
What are preprocessor directives in c?
What does %d do?
What is the difference between array and pointer in c?
How do we open a binary file in Read/Write mode in C?