@rahul: the ques itself says that we have to implement abstract class*without * using pure virtual function...
On Sun, Jun 24, 2012 at 12:00 AM, rahul sharma <rahul23111...@gmail.com>wrote: > yeah use pure virtual fxn...... > > > On Fri, Jun 22, 2012 at 3:41 PM, himanshu kansal < > himanshukansal...@gmail.com> wrote: > >> i told the interviewer...bt he said thn the constt would not be >> accessible to derived class also....he told me dt u shld make the constt. >> protected....dats why i ws confused... >> >> >> On Fri, Jun 22, 2012 at 2:38 PM, raghavan M < >> peacelover1987...@yahoo.co.in> wrote: >> >>> Make all constructors private. >>> >>> >>> ------------------------------ >>> *From:* himanshu kansal <himanshukansal...@gmail.com> >>> *To:* Algorithm Geeks <algogeeks@googlegroups.com> >>> *Sent:* Friday, 22 June 2012 1:44 PM >>> *Subject:* [algogeeks] Adobe interview question >>> >>> How will u implement an abstract class in c++ w/o using pure virtual >>> function??? >>> >>> will making all the constructors and assignment operators protected >>> suffice....??? >>> i doubt since the derived classes will be able to create objects of >>> that class....and according to definition of abstract class, no object >>> of it should be created... >>> >>> >>> any other way....?? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Algorithm Geeks" group. >>> To post to this group, send email to algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to algogeeks+ >>> unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Algorithm Geeks" group. >>> To post to this group, send email to algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> >> >> -- >> >> Regards >> Himanshu Kansal >> Msc Comp. sc. >> (University of Delhi) >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards Himanshu Kansal Msc Comp. sc. (University of Delhi) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.