Science, asked by Hematommy557, 1 year ago

Which two are valid constructors for thread?

Answers

Answered by shetriyas
0
two are valid constructors for thread are
Thread(Runnable r, String name)
Thread()
Answered by IIKaminaKingII
0

Answer:

Constructors are special class functions which performs initialization of every object. The Compiler calls the Constructor whenever an object is created. Constructors initialize values to object members after storage is allocated to the object. Whereas, Destructor on the other hand is used to destroy the class object.

Similar questions