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 logical error?
how to introdu5ce my self in serco
What's the right way to use errno?
Why is extern used in c?
Differentiate Source Codes from Object Codes
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Can you please explain the difference between strcpy() and memcpy() function?
In C, What is the #line used for?
List the different types of c tokens?
What is the g value paradox?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What is c preprocessor mean?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
How many types of sorting are there in c?