ADP Java interview questions
1. Merging two arrays in java.
2. Searching object in array.
3. Explain about struts flow.
4. Explain jsp life cycle and implicit objects.
5. Explain spring flow.
6. Servlet session management and servlet chaining.
7. Explain Hashmap internal flow.
8. Javascript object level interface and modifications.
9. java collections.
10. write a java logic for search functionality in array.
11. write a logic for combind two arrays.
12. write a logic for create new array by taking other two arrays( Avoid duplicates).
13. what is thread.
14. what is yield,notify and NotifyAll i thread.
15. why above methods are in object class.
16. what is serilization
17. how can i do own serialization in our class
18. What is Synchronization? how can i do one variable un synchronized
19. how many way we can use synchronization
20. what is wicket frame work and architecture.
21. how ajax will work
22. how many spring injections
23. Write constructor injection code with two parameters.
24. How to sort String Array and write a snippet code?
25. What are the Object Oriented features and explain each feature?
26. What is inheritance and who to achieve multiple inheritance in java?
27. What is interface and their features?
28. What is the difference b/w abstract class & interface?
29. Is it possible to override private methods in child class?
30. What is differences b/w HashMap & Hashtable?
31. How to sort user-defined objects in java?
32. Write snippet code for comparator interface?
33. Write a driver registration code in jdbc?
34. What is the difference b/w Statement & PrepareStatement?
35. What is Servlet and explain servlet life cycle?
36. How to redirect the page in servlet?
37. What are the features of jsp?
38. how to create custom jsp tags?
39. What is Object-oriented javascript?
40. Do you have experience in jsf?
41. Merge two arrays in java without using collections.
42. Find given value in array without using collections.
43. Is swapping of object can also swap there properties.
44. Comparator and comparable interface in java and why it is used.
45. Generics in java.
46. Struts life cycle.
47. Write a code to find all the mp3 files in drive c there is folder structure and you have to search in
each folder.
48. Inheritance principal.
49. Overriding principal.
50. Can we serialize static variable.
51. Can we serialize volatile.
52. What is transient.
53. Hashmap internal flow how get() works.
54. Equals and hashcode contract in hashmap
55. how join() works.
56. How to debug application.
57. How to make a immutable class.
58. Singleton design pattern.
59. Spring mvc controller.
60. Explain OverLoading , Overriding , Method Hididng with examples
61. Explain Few Utils Package classees.
62. Explain the concept of Abstarction
63. Create an Immutable object and explain the statergies maintained.
64. why do we need private variable and public Setters and getters in POJO
65. Explain Ploymosphism
66. Diff b/w Morden collection and Dectionary Collection
67. How to make the mordern Collection syncronised
68. How to make the custom object serialized
69. How to implement Custome Collection
70. Explain Streaming and file with example
71. Explain Comarator and Comparable Interfaces and their diff.
72. Write a singleton class and statergies to be maintained to achive that
73. Explain Pattrens that you used in the current Project
74. Exception hirarchy and Immediate super class of few Excetion EX : Null Pointer,
IOBExcep
75. Try with resources and Finally skip statergies
76. Generic and the version Update
77. Session Management and traking
78. Write JDBC connection establishment code. and explain the interfaces and class of JDBC
79. Explain the Servlet Life ccycle
80. JSF:
81. Expain the life cycle
82. Diff between managed been and backing bean
83. Error handing in JSF
84. How to skip the validation phase
Java Script/Ajax
85. 1. Explain the OOJavaScript
86. How to disable HTML content on event change
87. Explain few Angular JS directives
88. How to make a filter the java script access in old incompatable browsers
89. Explain the process of object creation in Java script
90. How to make typicall async call using Ajax
Problem solving:
91. sort the cutome objects in java with out using collection api
92. Filter the intergr which is multiple of 5 from the given list
93. Define the datastructure for storig the data realted to emp and display on request
94. 4. How to find the best buy and selling time of stock from the list on daily stock values
SQL:
95. Join two tables using Inner Join and outer Join
96. How distinct works
97. Explain about the abstraction in java with example?
98. How oops concepts are implemented in java?
99. How can you implemented by overriding in your current project?
100. How to handle the exceptions in your current project?
101. What is difference between throw and throws?
102. Features of java 1.6 ?
103. What is the advantage of Generics in java?
104. What is the difference between ArrayList and LinkedList?
105. Hashset internal flow.
106. What is the difference between Comparable and Comprator in java?
107. How to apply the customized sorting to user defined objects
108. What is the interface and their features?
109. What is the difference between sleep() and wait() method
110. How ajax will work?
111. What is the difference between synchronization and asynchronization?
112. How to send the request to server using ajax call.
113. How to retrive the text box values using javascript?
114. How to append the one text box value to another text box value?
115. Difference between onblur and onfocus?
Java Script & Ajax Interview quations
116. What is Java Script?
117. Can we use Java script client side or server side?
118. How do we add java script on to a web page?
119. Which is better performance If we import Java script on top or bottom and why ?
120. What are the predefined functions in Java script and how to use them?
121. How will get text box in java script?
122. How will submit the form using java script?
123. How can we handle the errors in java script?
124. What are the data types in java script?
125. How to access the elements using java script?
126. If there r two buttons if we click one button immediately if we click another button what
will happen how to write that code ?
127. What are the GET and Post methods in HTML form?
128. What is this key word in java script?
129. What is Ajax?
130. How to create Ajax Object can we write the code?
131. What are the properties in Ajax?
132. How to send request to server using Ajax call?
133. How to get response and result using Ajax?
134. What is advantage using ajax?
135. What are all browsers support Ajax?
136. What are the features of ajax?
137. Can u write the code how to send ajax call and how to get result using ajax?
138. 23)If we have two text fields and submit button. If we click the submit button that data
will send to sever and get back the results. Can we write the code?
Core Java Interview questions
139. What is immutable class and how to make a class immutable?
140. What is the immutable class other then string?
141. What is static variable and methods
142. what is difference between interface abstract class?
143. What is differ between Hash map and Hash table
144. What is comparable and comparator?
145. How to do sorting elements using collections?
146. How to do customize sorting?
147. Difference between set and list?
148. What are the methods in object class?
149. What is serialization?
150. How to make serialize the object?
151. How can we handle exceptions in java?
152. What is difference throw and throws?
153. How many type of exceptions?
154. What r the checked exceptions and unchecked exceptions?
155. How many ways we can create a threads?
156. What is synchronization?
157. What is sleep method and which class?
158. What is wait, notify, notify all methods?
159. What is meant by Map?
160. what is internal implementation of a map?
161. How to iterate map with alternate values?
162. How to count ranges between given values using loops?
163. How isolation is achieved in j2ee?
164. How to implement lock mechanism in j2ee without hibernate?
165. What is jms?
166. Exception handling in all the layers?
167. What are co-related queries?
168. What are sub-queries?
169. what are differences between co-related and sub-queries quires?
170. what are aggregate functions in sql?
171. what are joins in sql?
172. what is transaction management in java?
173. what is transaction management in spring?
174. How to use group By clause in sql?
175. Need complete good knowledge on sql queries?
176. Need complete good knowledge on core java programs?
177. need awareness on application servers?
178. What are access specifiers and access modifiers in java,where we are going to use these
179. Use of try,catch,finally and their order of execution
180. Inheritance regarding Parent and child class having same methods
181. Instance method calling in static methods
182. How to apply Transactions in spring through AOP
183. Isolation levels,Transaction Attributes in Spring
184. Database normalization forms?
185. In which scenario we are going to use 1st normalization form,3rd Normalization forms?
186. Caching Techniques in Hibernate?