i have to run a program
which is inside a folder test ,test contains another folder which is outer,outer contains another folder named inner and a program named as Outer.java,inner folder contains a program named Inner.java
My current working directory is test...how i will set the classpath to run this code.
If you are talking about inner class concept, I don't see any specific reason why it should be in the folders. Moreover from your code snippet, you are not using any package. So why are you talking about folders here?
love your job and not your company;
...because you never know when your company will stop loving you!