Indicomm Global Selenium Interview Questions
1 what is inheritance?Explain the use of inheritance?
2 what is an abstract class?
3 what is an interface?
4 when to use inheritance and when to use abstract class?
5 what happens if I do not provide abstract method in abstract class and interface?
6 what is method overriding java what is the use of method overriding?
7 what is a constructor ?use of constructor and can I override the constructor?
8 how to call the superclass method in the subclass?
9 what is the base class for all java class?tell me the methods?
10 what is hashcode method explain programmatically(asked implementation of hashcode method)?
11 what is toString method ?what happens when I use in the program explain?
12 what is StringBuilder?
13 what is String tokenizer?
14 what is the difference between string and String Buffer?
15 what is the capacity of String Buffer?
16 what is a collection ?
17 what is a list?
18 what is ArrayList Explain?
19 Write logic for Array to ArrayList?
20 write logic for ArrayList to Array?
21 why vector class is defined Synchronized?
22 what is an exception ?
22 difference between Throw And Throws?
23 what is custom Exception explain?
24 What is finally block?Use of Finally block?explain
25 what happens if exception not found in try catch block?
Then finally block will be Executed or not