Wikipedia:Reference desk/Archives/Computing/2022 February 3
Appearance
Computing desk | ||
---|---|---|
< February 2 | << Jan | February | Mar >> | Current desk > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
February 3
[edit]Do I need to use these line in coding?
[edit]I am using this syntax in middle of the code:
WebDriver driver=new ChromeDriver();
so during importing drivers, do I still need to import chrome drivers? I mean should I leave my code
import org.openqa.selenium.WebDriver;
in opening line without using this one: import org.openqa.selenium.chrome.ChromeDriver; ?
- WebDriver is an interface that is implemented by several classes, of which ChromeDriver is one.[1] ChromeDriver() is a constructor defined in the class ChromeDriver.[2] The WebDriver interface does not define any constructors; to use the ChromeDriver() constructor, you'll need to import the class that defines it. --Lambiam 22:12, 3 February 2022 (UTC)
I got the answer from this line: The WebDriver interface does not define any constructors; to use the ChromeDriver() constructor, you'll need to import the class that defines it. Rizosome (talk) 22:39, 4 February 2022 (UTC)
Resolved
- And one day you will learn to say "Thank you". MinorProphet (talk) 07:28, 10 February 2022 (UTC)
- Unresolved
EXP3 multi armed bandit with multi experts
[edit]Hello, I look for extension for EXP3 multi armed bandit with K experts selection instead of 1 at each round. Thanks --77.124.184.82 (talk) 23:18, 3 February 2022 (UTC)