Prasad,
You can't compile just one file in Eclipse. I can think of two ways around this:
1) For
test purposes, put the class in a project by itself and rebuild just that project.
2) Put the other classes in a jar file so that the old compiled version is used instead of the original classes.