I have a code to take the value from the table, but when I place it in a condition, I will get the wrong answer
jenis_absen = cursor.getString(9);
System.out.println("jenis absen >>" + jenis_absen);
System.out.println("cursor >>" + cursor.getString(9));
if (jenis_absen == "1"){
System.out.println(">>>>> TRUE");
}
else{
System.out.println(">>> FALSE");
}
this is the output