e

public String extractword(int pos)
This function should do one of the following
1. Return the string of the word that begins at position pos.
2. Return the string of the word that contains the character at position pos.
check
blue plus sign

Add Block

Checker

e

Solutions

Pre order:
In order:
Post order:
Close

Settings

Theme: (Dark)

Checker Settings
Report Bug
Close

Generate random tree

Max number of levels

Tree type

Generate

How to use

1. Drag statements from the statement bank into the code builder. Use controls to add and delete blocks.
2. Press the green check button to check the correctness of your code.
3. Make corrections based on the checker panel information and automatic feedback.
Close

Check answer

Which solution have you implemented?

Return the string of the word that begins at position pos.
Return the string of the word that contains the character at position pos.

Remember my selection

Cancel

GOOD JOB!

green check mark

You have completed this exercise!

Close