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

Explain enumerated types.

809


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

893


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

2907


Explain high-order and low-order bytes.

885


Explain what happens if you free a pointer twice?

824


What are directives in c?

751


What is atoi and atof in c?

825


In which header file is the null macro defined?

1132


What is modeling?

829


What is a method in c?

832


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

894


What does node * mean?

977


What is character constants?

912


What is bubble sort technique in c?

778


When the macros gets expanded?

1109