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
How do I use strcmp?
What are the different types of constants?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Does c have circular shift operators?
What is a pointer and how it is initialized?
What are the advantages of using new operator as compared to the function malloc ()?
What is sizeof int?
Write a program to swap two numbers without using third variable in c?
What do you mean by a local block?
All technical questions
Explain how can I make sure that my program is the only one accessing a file?
What is the explanation for modular programming?
How do you view the path?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?