1.what is the default package in java?
2.: why we use interface why not an abstract class ...what if I implement same method in the interface and abstract ....then ?? any difference??
3. what are inner classes ..name them?
4.in public static void main(String arr[])... what if i replace public with private ........... remove static ........replace the void with string
5.in hash map we have (key and value ) pair, can we store inside a value =(key, value ) again ??
5. what is variable scope in java (in class, in method, in static block)
6. what is the oops concept? explain them each with real-world examples
7.
8. what is singleton classes?
9.what is difference between .equals() , (==) and compare-to();
10. what is the difference between hash code and equals
11.write a program to get a substring of string ex: javais good ... so result:avais
12.write a program to reverse the string
13. wap for binary search
14.what is the use of the package
15. why we use interface and abstract
16.we have 2 interfaces both have print method, in my class, I have implemented the print method, how u will get to know that I have implemented the first interface and how u will use it .. if u want to use it
17.what is the difference between the vector list and ArrayList
18. difference between hashmap and hash table, what is synchronization, how it is achieved
19. what is the use of the collection, when we use it
20. what is priority queue in the collection , what is the use, how u have used in your project
21.where to use hashmap and hashtable
22. where u have to use the concept of interface and abstract in your framework
Labels:
Company Papers
2.: why we use interface why not an abstract class ...what if I implement same method in the interface and abstract ....then ?? any difference??
3. what are inner classes ..name them?
4.in public static void main(String arr[])... what if i replace public with private ........... remove static ........replace the void with string
5.in hash map we have (key and value ) pair, can we store inside a value =(key, value ) again ??
5. what is variable scope in java (in class, in method, in static block)
6. what is the oops concept? explain them each with real-world examples
7.
8. what is singleton classes?
9.what is difference between .equals() , (==) and compare-to();
10. what is the difference between hash code and equals
11.write a program to get a substring of string ex: javais good ... so result:avais
12.write a program to reverse the string
13. wap for binary search
14.what is the use of the package
15. why we use interface and abstract
16.we have 2 interfaces both have print method, in my class, I have implemented the print method, how u will get to know that I have implemented the first interface and how u will use it .. if u want to use it
17.what is the difference between the vector list and ArrayList
18. difference between hashmap and hash table, what is synchronization, how it is achieved
19. what is the use of the collection, when we use it
20. what is priority queue in the collection , what is the use, how u have used in your project
21.where to use hashmap and hashtable
22. where u have to use the concept of interface and abstract in your framework
Responses
0 Respones to "fico bangalore selenium interview questions - Testing questions "
Post a Comment