Adjacent characters

[Solved] Adjacent characters with Java

[Solved] Adjacent characters with Java

Adjacent characters: Given a string, write a program to compute a new string where identical chars that are adjacent in the original string are separated from each other by a “*” Input and Output Format: Refer sample input and output…