0
/ 1.0
Write a function in Java that implements the following logic: Given a string, return a string made of its first 2 chars. If the string...
Write a function in Java that implements the following logic: Given a string, return a string made of its first 2 chars. If the string length is less than 2, use '@' for the missing chars.
Your feedback will appear here when you check your answer.