id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > test2022_09_12_APP1SLHL_slashBetween
prev  |  next  |  chance

Write a method that returns a new string made up of 'str1', then the "/" character, then 'str2'. Look at the test data to see examples.


test2022_09_12_APP1SLHL_slashBetween("numerator", "denominator") → "numerator/denominator"
test2022_09_12_APP1SLHL_slashBetween("1", "2") → "1/2"
test2022_09_12_APP1SLHL_slashBetween("igloo", "popcorn") → "igloo/popcorn"

...Save, Compile, Run (ctrl-enter)

public String test2022_09_12_APP1SLHL_slashBetween(String str1, String str2) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200

Copyright Nick Parlante 2017 - privacy