whether its a specific character.
i declare grade1 as a
String. then i convert it to char as follows:
(char)grade1
i want to check whether this((char)grade1) is equal or not to 'A'.
so i use,
if((char)grade1 != 'A')
{
s.o.pln("No")
}
else
{
s.o.pln("Yes")
}
am i right here?