hey Hema,
What do you exactly mean by that question?
Speed in Java apps can be determined by many factors. One of them is exection time. The lesss execution time you have, faster is your program.
Other factor is memory utilization, sometimes if you can afford to utilize more memory(that too wisely), again your program will be fast.
Sometimes its a trade off between the two.
Cheers,
AJ