Write a method, makeEmailAddress, that is passed two String arguments: the first is a username, like “leadbelly” and the second is a domain name, like “blues.com”.

LANGUAGE: Java

CHALLENGE:

Write a method, makeEmailAddress, that is passed two String arguments: the first is a username, like “leadbelly” and the second is a domain name, like “blues.com”.
The method returns an email address formed from joining these with an “@”: “[email protected]”.

SOLUTION:


public String makeEmailAddress (String aString, String bString){
    return aString + "@" + bString;
}