I have a program in which i want to pass the value of file path at runtime without asking for it from user.
String fPath="C:\\user\\jProp.properties
i want to assign the value to the fPath...
Type: Posts; User: Shantanu Gontia
I have a program in which i want to pass the value of file path at runtime without asking for it from user.
String fPath="C:\\user\\jProp.properties
i want to assign the value to the fPath...
there is a rule in java, you can not access non static variables inside a static method. check out your code and either use a non static variable or make the variable static which you are using. It...