hudson3204 hudson3204 13-02-2024 Computers and Technology contestada What is output by the following code segment? String str = "what"; int val = 1; while (val < 4) str += "up"; val = val + 1; System. out println (str) ;