Java Programming Logical Questions Javascript Editor