Computer Science, asked by bvishnupal, 2 months ago

Write a Java program for creating two threads. One thread should display the message,
”Hello” 5 times and another thread should display the character, ’A’ 10 times​

Answers

Answered by Oreki
6

\textsf{\large \textbf{Algorithm}}

  \text{\textemdash \:\: Creating two threads as specified using an anonymous class. }\\\text{\textemdash \:\: Running both Threads using \texttt{start()}.}

Attachments:
Similar questions