0 votes
in ReactJS by
edited by
A class is a type of function, but instead of using the keyword function to initiate it, which keyword do we use?

a) Constructor

b) Class

c) Object

d) DataObject

1 Answer

0 votes
by

B is the correct answer. A class is a type of function, but instead of using the keyword function to initiate it, we use the keyword class.

Related questions

0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
...