No. This is because the word Class is an occupied word in JavaScript. If you use the word Class JSX will get translated to JavaScript.

Note: Before getting confused with the plethora of react coding interview questions, you need to ensure the basics. This question will help you to understand the core basics of react and make you even more confident enough to jump onto the advanced questions.

BY Best Interview Question ON 30 Jun 2020