then why do you take java ?? leave it !! ... I also have a lot of study but still I spare time for my java practice. and I am only two months old in java :D
nanosani's right. If you're posting your homework here, you're not learning by doing, which is the most effective way of applying what you're supposed to be taught. In the future, please do not post your questions here for us to do them for you; instead, ask questions, and post code of your own for us to help you with. That way, you can't use us a crutch to hobble by on, but as a stepping stone to get higher up the mountain with.