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

 

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

Write a method that accepts two string parameters and returns their TOTAL length. You need to return the combined length of the two strings. Look at the test data for examples.


quiz2021_10_04_APSLHL_totalLen("Def Leppard", "Rush") → 15
quiz2021_10_04_APSLHL_totalLen("Arlo Guthrie", "John Waite") → 22
quiz2021_10_04_APSLHL_totalLen("Kenny Loggins", "Mr. Big") → 20

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

public int quiz2021_10_04_APSLHL_totalLen(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: 220

Copyright Nick Parlante 2017 - privacy