about | help | code help+videos | done | prefs |
public String concatFirstLetters(String a, String b)
public String concatFirstLetters(String a, String b) { String firstA = a.substring(0,1); String firstB = b.substring(0,1); String combo = firstA + firstB; return combo; } concatFirstLetters("How", "Now") → "HN" concatFirstLetters("What", "Then") → "WT" concatFirstLetters("Full", "Moon") → "FM" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 12
Copyright Nick Parlante 2017 - privacy