Wednesday, January 15, 2020

Class and Polymorphism questions in Java

Can we create a static class in Java?

We cannot static class in Java at Top Level as it will give illegal modifier error.-

 

 we can create a nested Static class in java for example.



 ---

Is function over-riding  possible for waits in selenium ?

If we have both implicit and explicit wait then which wait will be over-rided?

Refer links -
http://makeseleniumeasy.com/2017/07/02/part-6-waits-in-selenium-what-happens-when-we-mix-implicit-wait-and-explicit-wait/

No comments:

Post a Comment