nitss bhavsar wrote:hey,thanks for your reply..so how do i modify my code to support switch case?
No, you don’t.nitss bhavsar wrote:I have to use switch because my code contains multiple if else statements...
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie wrote:And instanceof Object? I challenge you to show any occasion where you can retrieve something from a collection and instanceof Object returns false
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Spoor wrote:Challenge accepted. Just put the following class inside the same package:
Damn!!Rob Spoor wrote: . . . Challenge accepted. . . .
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |