Question

Given 11. String test- a1b2c3, 12. String tokens test.split(ld) 13. for(String s: tokens) System.out.print(s+), What is

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer A: a b c

Explanation: Here any integer acts as split character and each character before the integer splits into string.

Hence a b c is the output.

Add a comment
Know the answer?
Add Answer to:
Given 11. String test- "a1b2c3", 12. String tokens test.split("ld") 13. for(String s: tokens) System.out.print(s+""), What is the result? A. a b c B. 1 23 C. a1b2c3 D. a1 b2 c...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT