Interview questions

JAVA interview questions – page 66

2,804 questions. Tap “Show answer” to check yourself.

  1. How to call static method?

  2. Can we Connect Applet to Data Base ? with Discriptiom.and also What is Diff. from Applet & Servlet?

  3. Diffrence between dispatch action and lookupdispatch actionwrite simple web appliction (insert records in database)

  4. What is the difference between add() and addElement() method in Vector Class ?

  5. How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.

  6. What is struts? why Struts?

  7. What is the is a and has a relation ship in oops concept injava?

  8. Why is multiple inheritance not allowed in java?

  9. How to use c/c++ code in JAVA

  10. How to set class path in java

  11. Which of the following declaration is wrong?int i=45;float j = 45.0; double k=45.0;

  12. How can we define a variable globally?

  13. What is the difference between SAX Parser and DOM Parser?

  14. Write a program to create an arraylist with string(add,remove) operation.and value should be enter through keyboard.

  15. Watz the difference between abstract class and interface? Which one u ill choose as a designer?

  16. Why marker interfaces are there in java

  17. In real time project when will we use Abstract class. andwhat are the difference between abstract and interface.

  18. What are Struts properties?

  19. They had given one progamfinal HashMap hm=new HashMap();public void show(){hm.put("name",value);}in this prg here the final hashtable value can be changed input method,its the prg run?

  20. Diff mvc1 and mvc2wahts is mean by servlet chaining?

  21. How can the admin console be disable before it is re-enableby WLST?

  22. What is the use of abstract class and interface with example?

  23. Whats is mean by filter?

  24. How can you increase heap size from command line

  25. What is the differances between a abstract calss and interface

  26. What is Overriding and how can it be used?

  27. Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?

  28. Memory management in JAVA

  29. How to write a jcl prog to copy alternate recs from ps1 toanother ps2,suppose ps1 having 10 recs?

  30. Wahts is mean by dynavalidatorform in struts/

Companies that ask JAVA questions