MyWiki:Reference desk/Archives/Computing/2022 February 3

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This template must be substituted. Replace {{Archive header with {{subst:Archive header.

{| width = "100%"

|- ! colspan="3" align="center" | Computing desk |- ! width="20%" align="left" | < February 2 ! width="25%" align="center"|<< Jan | February | Mar >> ! width="20%" align="right" |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 source]

Do I need to use these line in coding?

[edit source]

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)


And one day you will learn to say "Thank you". MinorProphet (talk) 07:28, 10 February 2022 (UTC)

EXP3 multi armed bandit with multi experts

[edit source]

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)