Question: What would the code for this in java be? the goal is: public String domainGen (String fullname) This method takes the fullname and generated the
What would the code for this in java be?
the goal is:
public String domainGen (String fullname)
This method takes the fullname and generated the domain in following scheme www.firstname-lastname.com *Make sure to lowercase the domain
To fill in:
class StringMethods {
public String domainGen (String text) { //Write your Code here (replace the default return statement) return ""; }
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
