MCQs>IT & Programming>Java>What will this code print, assuming it is inside the main method of a class?System.out.println("hello my friends".split(" ")[0]);
Java MCQs
What will this code print, assuming it is inside the main method of a class?System.out.println("hello my friends".split(" ")[0]);
Answer
Correct Answer: Hello
Explanation:
Note: This Question is unanswered, help us to find answer for this one