Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Ram Nath

+ Follow
since Jun 04, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ram Nath

Thank you so much. One more question, so when we model the class the aggregation will be a pointer to other object and in case of composition the entire object is enclosed within the current class. Am i right?.
Thanks a lot for all your help
Can someone tell me how do we know it is a composition or aggregation?. or what is the difference between composition and aggregation in UML?.
COmposisition is represented with filled diamond.
aggregation is with empty diamond
given a situation how do to decide which is which?
thanks a lot for ur help
Ram Nath
Can anyone tell me the difference between uses and extends usecase?
Is it, uses is used for 2 use cases use a common use case.
extends is for optional error handling?.
What is the diff between primary actor and secondary actor?
Is the secondary actor is the one having out going arrow from the system under consideration.
Can you please suggest me the good book to buy for OOAD ?
Thanks a lot
If the more specific method is in the subclass you won't get the error and it prints the draw in subclass.
i.e. put the draw(int i) in subclass and try.
The compiler gets confused because integer can be promoted to double and it doesn't know which one to call.
hope this helps
Inner class can be used when we want to do some work within the scope of the other class and it need not exist seperately. A good example is creating a linked list class. To create a linked list class, we need to create a node. This node can be an inner class.
Sub classes are classes which derives from the other class (parent class) to provide more specific functionality.
Hope this helps
a = null;
executes the object a is eligible for GC. But no gurantee that when it will be GC'ed.
repaint() calls update() that calls paint(). That is the sequence. So d is not correct.
Let me give you some headstart on this. W and I can have different size. W will take more space than what I takes.
In fixed fonts, all the characters will be of same size/width.
In proportional font, width = average of sizes of all the characters.
Top level class is the one at the top.
Nested Top level class is the inner class declared with static
public class test {
static class inner {}
Local class is the class declared within the scope of a method.
public class test {
public void method() {
class inner {}
JVM will not exit when there are any user threads running.
JVM can exit when there are only daemon threads running.
Hope this helps.
Container class is a normal class in Java 2.0. It was an abstract in 1.1.
This doesn't compile because you are trying to assign Object to Runnable. You need an explicit cast.
Runnable rn = (Runnable)obj;
should work.
I have some info for you. Please try this place below. I don't know specifically where in india you are. I guess you might be at bangalore. If i find something in Bangalore, i let you know. Meanwhile try these places.All the Best.
Get one from Mumbai if possible - difficult here too but certain if ur on time -
Contact Bitech 022- 8769364 - Vouchers usually are available every Friday but are exhausted very soon . May need to camp in mumbai a day before and reach Bitech before 4.00 p.m as the vouchers are issued only between 4.00 and 5.00 p.m
contact Bitech and enquire about the voucher availability of the voucher before leaving for this place.
No 16 , Udyog Bhavan, Sonawala Lane
Goregaon (e) , Mumbai

Bitech vouchers are difficult to get hold of. Managed to get one from Bostons - right opposite Vileparle (W)Station, first floor, Hemu Arcade in Mumbai. They reserve one for you if you give them a cut off date/time. Tel number is 6126259 / 6126733