Spartan Posted December 16, 2011 Report Posted December 16, 2011 [quote name='galigannarao' timestamp='1324071730' post='1301157085'] virtual ani define cheste they may be overridden in the derived class [/quote] they can be..but not compulsory.... Animal class kinda...eat virtual ani fedite... eat can be called by any class...Wolf..Tiger etc....it behaves..same..and over ridden..
galigannarao Posted December 16, 2011 Report Posted December 16, 2011 chorry nenu cheppina answer taffu
Jambhalheart Posted December 16, 2011 Report Posted December 16, 2011 [quote name='galigannarao' timestamp='1324071730' post='1301157085'] virtual ani define cheste they may be overridden in the derived class [/quote] ohh ok... ante java point of view lo cheppa baa, forgot abt C++ ... but still I guess A is the answer
ammulu Posted December 16, 2011 Author Report Posted December 16, 2011 [quote name='galigannarao' timestamp='1324071685' post='1301157078'] E is the amswer [/quote] pakka naa?
ammulu Posted December 16, 2011 Author Report Posted December 16, 2011 [quote name='galigannarao' timestamp='1324071869' post='1301157101'] chorry nenu cheppina answer taffu [/quote] ey answer oo cheppochu kadha
galigannarao Posted December 16, 2011 Report Posted December 16, 2011 [quote name='ammulu' timestamp='1324071933' post='1301157115'] ey answer oo cheppochu kadha [/quote] suttanam undu. c++ ante 8 years backki vellali
ammulu Posted December 16, 2011 Author Report Posted December 16, 2011 [quote name='galigannarao' timestamp='1324071959' post='1301157118'] suttanam undu. c++ ante 8 years backki vellali [/quote] nenithe A anukuntunna..adhe cheppesa..inka correct avuthundha ledha annadhi valla adhrushtam
Sword Posted December 16, 2011 Report Posted December 16, 2011 [quote name='ammulu' timestamp='1324071150' post='1301157004'] Given the the C++ classes, which of the following statements is/are true about accelerate(...) and consumeFuel(...) methods of Vehicle? (Select all that apply) class Vehicle { protected: void start(); void stop(); virtual void accelerate(int speed); virtual void consumeFuel(int mpg); public: .... }; class Car: public Vehicle { protected: .... public: .... }; Choose at least one answer. A. Are inherited by the derived class (Car). B. Can not be inherited by the derived class (Car). C. Are always required to (MUST) be overriden by the derived class (Car). D. Support dynamic (late) binding. E. May be overloaded by the derived class (Car) if need be. Koncham ee answer ento cheppandi...Thank you [/quote] A correct E kooda correct anukunta but not sure
Spartan Posted December 16, 2011 Report Posted December 16, 2011 [quote name='Luv Guru' timestamp='1324072142' post='1301157136'] Answer b anipistondi [/quote] it canbe inherited.... answers A & E...
tom bhayya Posted December 16, 2011 Report Posted December 16, 2011 [quote name='K.A.Paul' timestamp='1324072474' post='1301157165'] D [/quote]
galigannarao Posted December 16, 2011 Report Posted December 16, 2011 [quote name='K.A.Paul' timestamp='1324072474' post='1301157165'] D [/quote] GP
Recommended Posts