Hi Prasad,
javac JarDemo/first/B.java
JarDemo\first\B.java:7: cannot find symbol
B.java uses something from class C.java, so you have to give the path to the compiler when compiling class B
you have to use the command
javac -cp
have a look at my notes (
SCJP Faq) chapter 10
Regards,
Frits