6) x = sb.indexOf("b"); sb.delete((x-3), (x-2)); System.out.println(sb); } } What is the result? Options: .faza .fzba ..azba .fazba ..fezba Compilation fails. An exception is thrown at runtime. Solution: C is correct. Remember that StringBuffer methods use zero-based indexes, andthat ending indexes are typically exclusive. A, B, D, E, F, and G are incorrect based on the above." >


Java Package

© examsnet.com
Question : 16
Total: 16
Go to Question: