i am here with a new query
i used the \b - backspace character statement in my java code and found that it
did not perform as expected
class Temp
{
public static void main(String[] args)
{
System.out.println("Temp\b");
}
}
------------------
i expected the backspace character to delete the last letter in Temp and the
expected result was " meghn "
but the result mister java gave me was "Temp"
i tried again with the backspace character in a different posistion
class Temp
{
public static void main(String[] args)
{
System.out.println("Te\bmp");
}
}
and the result was "Tebmp" which was the expected result.
now why does java not delete the last character when backspace is used in the
end ????
thanks a lot for continued support