0% found this document useful (0 votes)
18 views

Q3 Java

The document provides code to create two threads named 'Scooby' and 'Shaggy', and display both thread names.

Uploaded by

Avi Manyu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Q3 Java

The document provides code to create two threads named 'Scooby' and 'Shaggy', and display both thread names.

Uploaded by

Avi Manyu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

NAME: RANJIT RAJ UID:20BCS9943

SECTION: 804-A SUB: JAVA LAB

Q.Create two threads and assign names ‘Scooby’ and ‘Shaggy’ to the two
threads. Display both thread names.

CODE:

OUTPUT:

You might also like