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

Who is the main contributor in designing the c language after dennis ritchie?

541


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2366


How do you list files in a directory?

557


Can one function call another?

619


What is a union?

603






pierrot's divisor program using c or c++ code

1722


Explain what are header files and explain what are its uses in c programming?

621


What is the purpose of scanf() and printf() functions?

711


What are preprocessor directives in c?

629


What is the difference between struct and typedef struct in c?

641


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1583


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

593


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

619


Do you have any idea how to compare array with pointer in c?

595


Is flag a keyword in c?

673