Cherry Singhal

Greenhorn
+ Follow
since Sep 05, 2006
Merit badge: grant badges
For More
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 Cherry Singhal

hi satish

You cannot have get1() as static in Parent7 and get1() as instance in Child7. In general you cant have an instance method with the same signature as the static method of it parent class.



Please elaborate.. why is this so?
thats ok keith

but why does it happen? if a var isnt a compile time constant... then it wont be implicitly cast?
Hi krishna,
So that means nothing catches the exception?
& by crashing you mean we get a corresponding runtime exception?
Hi Abdul please elaborate on your ans ...

i tried
byte b1='a'+'b'; (declaration & initialization at the same time)
but it still gives the compilation error 'can not convert from int to byte'

Also what do you mean by binary numeric promotion?
Thanks a lott everybody!!
what are covariant returns?