What is the output? public class sample5 { public static void main(String[] args) { String a = "Hi/there"; String n[] =a.split("/"); System.out.print(n[0] + " "); } }
Reveal answer
Fill a bubble to check yourself
What is the output? public class sample5 { public static void main(String[] args) { String a = "Hi/there"; String n[] =a.split("/"); System.out.print(n[0] + " "); } }