Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!

Neerav Narielwala

Ranch Hand
+ Follow
since Dec 08, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Neerav Narielwala

Hi there,

You can not override a static method, which youjust saw when you defined the method getRefCount()in Parrot, a sub class of Bird.

When you deleted this method from Parrot, and called arrot.getRefCount();

no error occurred because Parrot, the derived class inherited its behaviour (all methods) from its parent class, Bird.

Parrot also inherited the static member variable referenceCount from Bird.

And because the method getRefCount() is defined as static in Bird you were able to invoke the same using the sub class name Parrot, without instantiating Parrot.

Hope this helped you..

Neerav
14 years ago
Hi,

what does Blatant Advertising mean?
14 years ago
I think you have to type http://localhost
14 years ago
Hi,

Will others be able to use the Java brand in their commercial products than Sun?

Thanks..
14 years ago
I think it demonstrates the visual construction of applications using component assembly mechanisms.
14 years ago
I suggest Eclipse..
14 years ago
Hi,

Anyone with IE 8 ?
14 years ago
Hi,

I have a problem in dropdown menu. The same menu is in client side and admin side but takes background color in client side and nor in admin side..

Why so..?

Thanks.
great best of luck!!
14 years ago
Sameer.. where is your hometown?

Mine is in Gujrat, India
14 years ago