Interview questions
JAVA interview questions – page 70
2,804 questions. Tap “Show answer” to check yourself.
-
Wat is class level lock and object level lock
-
Explain about thread synchronization inside a monitor?
-
I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?
-
What is the diff between Build and version and is there any file extenction for build and version if so wat is it..And How to deploy the build and version for development or testing.
-
How to extract HashMap values?
-
How will you measure that int takes up only 32 bits in memory?
-
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
-
How convert java file to jar files?
-
Does Java pass arguments by value or reference?
-
How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)
-
What is non static block in java
-
Why is java platform indipedence
-
Difference between JRE and JVM?
-
How will the struts know which action class to call when you submit a form?
-
How do you debug your java program?
-
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?
-
What is Struts Flow?
-
How many objects are created for a singleton class
-
How to override PROC? please give answer in details. Pleasemention how to write it in JCL. Thanks in advance.
-
What will be the output of the program?public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); }}
-
Can we override the ActionServlet?
-
What are the exceptions thrown by Servlets?
-
Why will the manage server goes to ADMIN Mode and Unknow Status?
-
How can we find size of the object ?
-
What is the diff b/w arraylist and vector?
-
Difference between an argument and a parameter?
-
Why we need to serialize the object
-
What are the latest versions in JAVA related areas?
-
Diffrence bw println() and printf()
-
Can any body body expalin best definitions & best real time exaples for opps concepts.