SELENIUM QUIZ

1) Identify the Method to enter the value in the web application ?
A)Set()
B)sendKeys()
C)Type()
D)Enter()
2) Select the variation which locates elements by the value of their "id" attribute in Web Driver Selenium
A) By.id
B) By.idno
C) By.id_no
D) By.tag_id
What is the return type of Constructors?
int
float
Void
None of the mentioned
Which of these interface must contain a unique element?
Set
List
Array
Collection
Which interface provides the capability to store objects using a key-value pair?
Java.util.Map
Java.util.Set
Java.util.List
None
Which of these keywords is not a part of exception handling?
Try
thrown
Catch
All the above
Which of the following is correct about Connection interface of JDBC?
Connection interface consists of methods for contacting a database.
It represents communication context.
Both of the above.
None of the above.
Which of the following encapsulates an SQL statement which is passed to the database to be parsed, compiled, planned and executed?
DriverManager
JDBC driver
Connection
Statement
Which of these packages contain all the collection classes?
Java.lang
Java.util
Java.net
Java.awt
Which of the following is main method in java ?
Public void main(String[] args)
Void main(String[] args)
Public static void main(String[] args)
Void main()
{"name":"SELENIUM QUIZ", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"WHO ARE, WR R U","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker