Hannah L.

asked • 11/22/21

Please help with coding problem

Hello,


I have a question about a java code. I have to write a program where i'll enter a String value as a variable “word”: “blahblahblah” then create a method that is called “showPairs(String word)” 


In the method, the program must show us “word” that is separated by 4 characters (we don't need to consider last two characters). The only thing I'm confused about is how to show the word separated into 4 characters. Please help.


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.