In a class only declaration of the function is there but
defintion is not there then what is that function?

Answer Posted / santhi

abstract functions
if u specify any function as abstract,there itself in it's
home class u can't find solution,u have to define those
function in the later derived classes through inheritance.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you print a string on the printer?

582


How would you use the functions memcpy(), memset(), memmove()?

624


What do you mean by stack unwinding in c++?

732


What is std :: flush?

576


Explain the volatile and mutable keywords.

614






what is data abstraction in C++?

653


What apps are written in c++?

604


Is c++ the hardest programming language?

642


Does a derived class inherit or doesn't inherit?

620


What are static type checking?

632


How one would use switch in a program?

613


What is else syntax in c++?

642


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

3047


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

606


What is difference between class and structure in c++?

623