Hey Tamanna, you can use following lines of code to launch Microsoft Edge driver with Selenium Webdriver:
// Set the driver path
System.setProperty("webdriver.edge.driver", "C://EdgeDriver.exe");
// Start Edge Session
WebDriver driver = new EdgeDriver();
driver.get("https://google.com");
driver.quit();