No, Preeti, I wouldn't feel stupid for asking. If you're new to programming, or new to
Java, you will find a thousand little rules and no beginner can expect to understand them all. Heck, most experts don't understand
all of them!
So, go easy on yourself while you're learning, and have some fun with it. I always look at code and math as puzzles to solve and that takes a lot of the pressure off because I've always enjoyed puzzles.
Cheers,
Jeff
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4 all those years ago...)