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

Correct Option - c

To get all Infosys Certified Node Developer Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in