Computer Science, asked by sanjanachhetri470, 6 months ago

Write a program in Java to accept two words and display the following
i) check whether they are equal or not
ii) display the character of 7th position (1st word).
iii) join them and display using string function
iv) display the index number of character 'a' (2nd word), display the relevant message if ' a' not present.
v) trim the leading space of both the words using string function.

Answers

Answered by nirajgavali
1

Answer:

i domt know

Explanation:

Similar questions