Maria wants to create server in node. She is facing issue with below code at two places X and Y. Please help her with X and Y

let h = require('http') 
let myserver = X.createServer((req,res)=>{ 
  res.write("Hello World"); res.end(); 
}) 
Y.listen(3000,()=>{
  console.log("Server started at port 3000")
})

X: h and Y: server

X: http and Y: myserver

X: h and Y: myserver

None of the above

Verified Answer
Correct Option - c

To get all Infosys Certified Node Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram