You are on page 1of 6

The Following are few JAVA Interview questions framed by TCS Associates. Pl.

Try to find answers/ solutions for these and mail me back not to this group. Person: 1 1. Describe your current project 2. Depending on the technology used eg mine was java and corba - Few questions based on that 3. How does corba operate 4. Was the platform - Windows NT or Unix and Why 5. Any experienc wth Unix 6. Kind of security build in the system 7. Use of session 8. List of session variables used 9. where is the temporary session information stored 10. Experience in java servlets. 11. Experience in XML 12. XML features 13. Describe actual project experience of using XML and XSL 14. How are the XML/XSL Microsoft parsers used 15. What is the xsl:apply-templates tag used for 16. when was the last time you worked with XML 17. Any experience with XML Schemas 18. What is the difference between DOM and SAX parsers

Person: 2 1. How to retrieve value from ArrrayList? 2. What is interface? Diff. between Abstract and Interface? 3. Why we are using Application server and Web server? 4. What are the setting we have to do in the Web server? 5. Which architecture you are used in your project? 6. How MVC applied in your project? 7. What are the command u know in Unix and what purpose you are used it? 8. In DB2 how to create the table? 9. Where you are used the XML in your project and what purpose? 10. What is the different between SAX and DOM? 11. What are IDE you are used? 12. In Visual Age how to setup your project (means how to add the project) and how run in the browser? 13. In HTML combo box values are loaded dynamically from the Database . I need to display particular values in time of display?

14. What the browser you are used in your project? What u find the difference between them? 15.

PERSON: 3 INTERVIEW QUESTIONS JAVA 1. Object class and its significance. 2. Single threaded class and its significance. 3. Various IDEs used and their usefulness. JAVA SERVLETS 1. Session tracking in servlets and project-wise implementation of the same. 2. Single threaded servlets. 3. XML parsing in servlets. 4. Optimum number of servlets required for a project. 5. Common functionality required in certain classes to be implemented in servlets architectural benefits. JSP 1. Scope variable for java-beans and project-wise implementation of the same. 2. URL encoding, URL hiding. 3. Request-Response mapping in Xml file. XML 1. XML parsing. 2. XML namespaces. 3. Project-wise implementation of SOAP web-services. DB 1. Joins (Inner & Outer)

J2EE ARCHITECTURE 1. 2. 3. 4. 5. MVC Architecture and uses. Basic Model Classes used in MVC. Mappings and properties files in MVC architecture. DAO classes used in LEAF architecture. LEAF (Lightweight Enterprise Application Framework) Architecture.

HTML / JAVASCRIPT 1. 2. 3. 4. Event-driven functions. Disabling right-click (view source). Validation of form-fields. Submit of form after validation.

OTHER QUESTIONS 1. 2. 3. 4. 5. Websphere performance issues. UNIX Commands and familiarity with the same. Hummingbird and e-Matrix related issues and familiarity with the same. Performance of LoadRunner. Simulating a case of 500 virtual users for LoadRunner at the same time and at different intervals. 6. Design using Rational Rose.

PERSON: 4

1. 2. 3. 4. 5. 6. 7. 8. 9.

About Current project and technologies used. What is the difference between Visual Caf and Visual Age. About IBM Websphere Test Enivronment. How did you use XML s in your applications? What XML parsers you used ? How comfartable are you in working with XML parsers? What is JDOM?. Compare the features with SAX and DOM. How to extract data from the elements in the xml file document? In DB2, Are you using any complicated SQLs ?.

PERSON: 5 INTERVIEW QUESTIONS JAVA 4. Advantages of Java usage 5. ArrayList and its implementation 6. String :- Difference of usage of S1.equals(S2) and S1== S2 JAVA SERVLETS 6. Session tracking in servlets and project-wise implementation of the same. 7. Optimum number of servlets required for a project. 8. On submit of the form , how it is processed in the servlet - Implementation of the same in the project J2EE ARCHITECTURE 6. EJB Performance Issues 7. Implementation JSP-Servlet-Session-Entity in the project 8. Exception Handling in the Project 9. Interfaces handled in the project 10. CMP Vs BMP HTML / JAVASCRIPT /JSP 5. Validation of form-fields. 6. Submit of form after validation. 7. Usage of HTTP Session is Jsp and implementation OTHER QUESTIONS 7. UNIX Commands and familiarity with the same. How to rename a file 8. Techonolgy architecture adapted in the project PERSON: 6

Java Questions 1. 2. 3. 4. 5. 6. 7. 8. What is finally used for and will it be executed if an exception occurs. Difference between ArrayList and Vector How would you extract values from a HashSet by looping through it What is a TreeSet What is the difference between x+=y and x=x+y Why are Stored Procedures used In JDBC what is the difference between Statement and Callable Statement When does Garbage Collection run. (Explain the process and about forceful garbage collection) 9. Does increasing the heap size improve performance(Felt this was an important area on which they focus) 10. What can be done to increase performance of Java programs. 11. How would you find out which part of a huge program is taking more time to execute. 12. How do you implement connection pooling 13. What is the significance of Classpath 14. What are library files 15. What is JNI 16. What are packages Applet Questions 1. What is MVC Servlet Questions 1. 2. 3. 4. What is the life cycle of a servlet. How many times is the init method called How long does the servlet stay in memory What are the exceptions thrown by the doGet and doPost methods

General Questions 1. Familiarity with Object Oriented Design 2. Explain about the project with respect to the technology and architecture used Overall areas that they seem to focus on 1. Collections framework 2. Performance tuning

FAQs 1. What is an interface and how is it useful? 2. What is an abstract class and how it differs from an interface? 3. What is polymorphism? 4. What is late binding? 5. What is the difference between overloading and over-riding? 6. Explain exception handling in Java. What is the finally block? 7. What is a constructor? What is a default constructor? 8. What is garbage collection? How do we enforce forceful garbage collection? 9. What is the difference between ArrayList and Vector? 10. What is a synchronized method? 11. What are static and instance variables? Can static methods access instance variables? 12. What does the keyword transient mean? 13. From an overriden method in the child class, how can you invoke the base class method? 14. What is an Object class? What is it significance? 15. What is the significance of protected ? 16. How will you prevent a class from being inherited ? Similarly, how will you prevent a public method from being over-ridden by the child? 17. What is a singleton? How will you implement it? 18. What is the difference between exception and error? 19. What are checked and unchecked exceptions? 20. What is a marker interface? Why do we use it ? 21. What is the difference between String and String Buffer? 22. What are accessor and mutator methods?

You might also like