Interview questions
JAVA interview questions – page 77
2,804 questions. Tap “Show answer” to check yourself.
-
What do you know about java language?
-
How java is more secure language than other?
-
What is socket programming in java?
-
How to write a Junit test case?
-
What is the syntax for assert statement in Junit?
-
What are the advantages of using java?
-
What is java collections?
-
What will the code in the finally block be called and run after a return statement is executed?
-
Whats the point of having a private constructor?
-
Why OOPS concept?
-
What is access specifier?
-
Which thread implementation you prefer and why?
-
What is the method in Iterator to get an individual element? Write the sample logic to display elements in a list Interface using Iterator.
-
Why you use struts framework in your project? What design pattern you followed?
-
Can you describe the life cylce management of JSP?
-
Write the program for method overriding
-
Comment the parent overmethod
-
Write the program to read the text from textfile in java
-
Objective programing
-
What is jaxb?
-
Explain spring ioc?
-
Difference b/w jaxrs and jaxws?
-
InputStreamReader vs FileReader in java
-
Int x=0; Now which is better and why, if(x==0) or if(0==x)
-
Implementation of Thread and what if we directly call run() method instead of start() method.
-
What is Garbage collector? How Garbage collector invokes and how we again reallocate memory to dereferenced objects?
-
One to Many Mapping in Hibernate
-
Details of memory structure(inner heap)
-
Without synchronized keyword, vector, Collection.synchronzed methode how will you do an array list as thread safe
-
Ways to create thread