Re: [algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-13 Thread bharat b
@shruti : question is about implementing super() functionality ... @vibhav : ya, I don't need it .. I heard that it is possible .. just to know how .. On Wed, Sep 12, 2012 at 11:55 AM, vaibhav shukla wrote: > whats the need for such a hack > > > On Wed, Sep 12, 2012 at 10:56 AM, bharat b > wrote

Re: [algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-13 Thread Shruti Gupta
if u'r talking about the use of super while calling constructors, u don't need to write anything.. compiler implicitly calls the no-argument constructor of superclass On Wed, Sep 12, 2012 at 10:56 AM, bharat b wrote: > > -- > You received this message because you are subscribed to the Google Gro

Re: [algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-13 Thread vaibhav shukla
whats the need for such a hack On Wed, Sep 12, 2012 at 10:56 AM, bharat b wrote: > > -- > 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

[algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-11 Thread bharat b
-- 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 ht

[algogeeks] Java question

2012-03-10 Thread shruthi sharma
Hi, Im new to algorithms, so this might be a simple question for most of you Lets say there are 5 trucks, each of which can take 100kg load. And they are filled to some extent randomly. Let the free quantity be 40kg, 30kg, 20kg, 80kg, 60kg respectively. At any given time only single load comes.