Answers for "why do we check if driver object has already created"

0

why do we check if driver object has already created

(if driver==null)
This is because of singleton pattern. 
It will not create object of the class
again if already initialized once.
Posted by: Guest on January-14-2021

Browse Popular Code Answers by Language