Skip to content

Conversation

Hannapham1007
Copy link

No description provided.



// 7. Using concatenation and existing members, set the faqUrl member below to the faq page of the boolean website
public String faqUrl = "";
public String faqUrl = protocol.concat("://") + domain.concat("/faq");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using concat() is fine and more explicit, you can also simply use +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants