0

hi
I have method which accept file and want to compare with string
for the above mention reason i did

System.out.println(targetFolder.getAbsoluteFile().equals(listPropertyValue[1]/*which is a string */)+"\n"+targetFolder.getAbsoluteFile()+"\n"+listPropertyValue[1]);

the value of listPropertyValue[1] and targetFolder.getAbsoluteFile() same value but it gives false.
Please tell me where i am wrong
Thnks

1
Contributor
1
Reply
8
Views
5 Years
Discussion Span
Last Post by bhallarahul
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.