Reached end of file while parsing compilation error

  1. Add Another “}” at end of your code you missed one

2.There is another error in your code

if((value = "true"))

is not a proper way to check string equality and has syntax error it should be

if(value.equals("true"))

Leave a Comment