ReactJS MCQs with Answers

How do you access a function fetch() from a h1 element in JSX?
A)
<h1>{fetch()}</h1> 
B)
<h1>${fetch()}</h1> 
C)
<h1>{fetch}</h1> 
D)
<h1>${fetch}</h1> 

Correct Answer :   <h1>{fetch()}</h1>