Anda di halaman 1dari 35

Phonex It Solutions: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13.

Wt is diff b/w JDBC and Hibernate Wt is ActionServlet How to integrate struts and spring How to handle exceptions Which jdbc driver u r using ? why? What is log4j and its main advantage? What is ur version control and advantages In eclipse how to establish link source files to classes folder What will happen if u compile jsp program where it is stored? What is web.xml and use of it? What r joins and explain? What is framework ? why? What is ur project architecture?

Broadridge : 1. what is IOC? 2. Write MVC and explain 3. What is ant? Write a ant scripting to load required jars automatically at runtime, whenever the system has less memory to store all files? 4. What are joins? 5. Write a trigger, procedure 6. What is AOP 7. What is Aspect Dell 1. 2. 3. 4. 5. 6. 7. 8. What is MVC arch Write update query to update all employee sal 10% increase What is javabean why What is controller why What is front design of ur project? Explain p.s.v.main(String arg[]) why static? Class program { Static void m() { sop(m) } Void m() sop(m1)

} } Class mypro { Psvm() { m(); } }what happen?

GSS Infotech Solutions 1. 2. 3. 4. 5. We have collection object type string, how to retrieve in jsp program Can u create object for system class? Tell jsp tags Is sugestable java code in jsp Explain about validator framework

IBM, Bang (18-08-2012) F2F 1. 2. 3. 4. 5. 6. 7. 8. 9. How to perform unit testing? How to move your developed files to testing dept What is main advantage of log4j Servlet object creation What are implicit object and their datatypes We are not extending String class from our class why? (String s= something) If we implement polymorphism then inheritance is defeault: true or false What are return types of sql quaries What are interfaces of collections

Tavant Technologies(1-09-12) 1. Write a program that has List obj, StudentList<Student> , it contains id,name,marks,status[pass,fail] now I want student list who are passed 2. Explain validations in struts 3. Write a criteria query that has two pojo classes,Student and Subject now query for students who are associated with maths subject Open Symphony pune(24-09-12)Tel 1. Diff between interfaces and abstract classes 2. How to initialize serializable classes 3. Diff between static and non static

4. Can we use static serialization 5. Explain method overloading and overriding Find output: Class base{ Public void m(Object o){sop(base);} } Class derived extends base{ Public void m(String s){soop(derived);} } Public static void main(String arg[]){ Base b = new derived(); b.m(new String); b.m(new HashMap); } 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. How to debugging in eclipse Diff between servlet and jsp What happen in jsp compilation What is httpsession Diff between generic servlet and httpservlet What are scriptlets in jsp and wt is problem and wt is alternative What is method for sorting Can we synchronized an arraylist object How to compare employee objets Diff between comparable and comparator How to reverse the collection objects

Skype video conference with above company 1. 2. 3. 4. 5. 6. Is arraylist inserted orderd? Hashmap? In jsp how to propagate error messages Web.xml Sql queries Explain about ant, maven, jquery,javascript Which version controller ur using

7. Method orriding Infinite Computer sol(22-09-12) Tel 1. 2. 3. 4. 5. How to use serialization concept in ur project ? if not used what happened? How to integration done ur project How to initialize ur hibernate dao related classes. Log4j main use and assertions Expections

Interview Questions Syntel, IBM Telephonic 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. Why Java as OOP language? Main difference between C++ and Java? Inheritance types with real time examples? Polymarphim real time example? Abstract class and Interface .. ect How config Hibernate? Difference between SQL and HSQL? Collections and Collection? Hsahmap and Hash table? Collections hierarchy? Servlet life cycle? JSP life cycle? How to connect DB by using MySQL? Struts Flow? One jsp, One Servlet, One pojo - how to define directory structure? What is prepared statement, and advantage of that? What are the different between java 1.4, Java 1.5 and Java 1.6? What is the main difference between core java and advance java? What is the difference between JVM, JDK, JRE? How to use JUNIT in your project? Why web.xml? What are the problems faced in the current working project? Abstract design pattern code? Object class methods? What are the features of JDBC 2.0 and JDBC 3.0? You performed any java testing? Is needed? Explain about MVC design pattern? What are the core classes of your project? Explain about hibernate mapping xml file? Struts flow in your current project? What is your job in Design Phase?

Chennai 1)explain your current project? 2)how to configure lazy loding? 3)wher you are using collections in your project? 4)can you chang the arraylist values? how can you change? 5)explain MVC architecture? 6)where your using hibernate in your project? 7)what is struts actionclass explain? 8)explain exception and error? a) Answer: Answer Error: Any departure from the expected behavior of the system or program, which stops the working of the system is an error. Exception:Any error or problem which one can handle and continue to work normally.

Note that in Java a compile time error is normally called an "error," while a runtime error is called an "exception." Errors don't have subclasses while exception has two subclasses, they are compile time exception or checked exception (ClassNotFound Exception, IOException, SQLException etc.) and runtime or unchecked exception(ArrayIndexOutOfBounds Exception, NumberFormat Exception).

Read more: http://wiki.answers.com/Q/What_is_the_difference_between_exception_and_error_in_java#ix zz1w7gTrsDu 9)which type of exceptions handle in your project? 10)explain stack overflow and heap? 11)which type of exceptions rised in your project?

1)can we extend string class? 2)what is an abstract class? 3)can we write two constructors in abstract? 4)one to one relationship in hibernate how to write lazy loding in hibernate? 5)write a program string by word with out using stringTokenizer? 6)what is the use of flush() method in Hibernate? 7)what is evit() method and expalain them?

8)what is the diff b/w abstract and interface? 9)what is use of final&finalize? 1)write a program to print the given String is pallindrom or not? 2)write a program the given String is Sorting order in Desinding? 3)write a program to print the FibnoicSeries? 4)write a program String s="this,is,an,have,work,to,the,home";count the no of commas? 5)write a program on userdefined exceptions or custom exceptions? 6)write a program to print given no is prime or not? 7)What is First and Second Level caching in Hibernate? First-level cache always Associates with the Session object. Hibernate uses this cache by default. Here, it processes one transaction after another one, means wont process one transaction many times. Mainly it reduces the number of SQL queries it needs to generate within a given transaction. That is instead of updating after every modification done in the transaction, it updates the transaction only at the end of the transaction. 1.2) Second-level cache Second-level cache always associates with the Session Factory object. While running the transactions, in between it loads the objects at the Session Factory level, so that those objects will available to the entire application, dont bounds to single user. Since the objects are already loaded in the cache, whenever an object is returned by the query, at that time no need to go for a database transaction. In this way the second level cache works. Here we can use query level cache also. Later we will discuss about it. 1)what is map? a)A Map is an object that maps keys to values. A map cannot contain duplicate keys: Each key can map to at most one value. It models the mathematical function abstraction. The Map interface follows. 2)what is connection pooling? a)It's a technique to allow multiple clinets to make use of a cached set of shared and reusable connection objects providing access to a database. Connection Pooling feature is supported only on J2SDK 1.4 and later releases. 3)what is iterator how to use hashmap? 4)what is lazyloding() 5)what is diapatchaction? 6)what is garbagecollection?

a)When a Java object becomes unreachable to the program, then it is subjected to garbage collection. The main use of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources can be reclaimed and reused. 7)what is jvm? a)JVM is the main component of Java architecture and it is the part of the JRE (Java Runtime Enviroment) . It provides the cross platform functionality to java. This is a software process that converts the compiled Java byte code to machine code. 8)what is context? a)public interface Context This interface represents a naming context, which consists of a set of name-to-object bindings. It contains methods for examining and updating these bindings. Names

1)write a sample code in customexceptions? a) import java.io.*; // A Java application to demonstrate making your own Exception class // This program catches the exception when the word "client" is // entered incorrectly. public class TestException { static String s = ""; //-------------------------------------------------------public static void main (String args[]) { InputStreamReader is = new InputStreamReader(System.in); BufferedReader buf = new BufferedReader(is); System.out.println("Enter the word you cannot spell: "); try { s = buf.readLine(); } catch (IOException e) { System.out.println("IOException was " + e.getMessage());

} try { checkSpelling(); // this method throws SpellException } catch (SpellException se) // but it is caught here { System.out.println("Spell exception was: " + se.getError()); } } // end main //---------------------------------------------------------// Check spelling of typed in word. Throw exception if wrong. // Note how this method specifies that it throws such and such // exception. Does not have to be caught here. private static void checkSpelling() throws SpellException { if (s.equalsIgnoreCase("client")) System.out.println("OK"); else throw new SpellException("Cannot spell client"); } } // end main class //*********************************************** // Custom exception class that descends from Java's Exception class. class SpellException extends Exception { String mistake; //---------------------------------------------// Default constructor - initializes instance variable to unknown public SpellException() { super(); // call superclass constructor mistake = "unknown"; } //----------------------------------------------// Constructor receives some kind of message that is saved in an instance variable. public SpellException(String err) { super(err); // call super class constructor

mistake = err; // save message } //-----------------------------------------------// public method, callable by exception catcher. It returns the error message. public String getError() { return mistake; } } 2)using arrylist add values and copy that values in to map? 3)What are the methods in Object class? a)There are lots of methods in object class. the list of some methods are asclone equals wait finalize getClass hashCode notify notifyAll toString.

/* Reverse string by word using StringTokenizer example. This example shows how to reverse a line or sentense using Java StringTokenizer and String classes. */ import java.util.StringTokenizer; public class ReverseLine { public static void main(String[] args) { String strLine = "Java Reverse string by word example"; //specify delimiter as " " space StringTokenizer st = new StringTokenizer(strLine, " "); String strReversedLine = "";

while(st.hasMoreTokens()) { strReversedLine = st.nextToken() + " " + strReversedLine; } System.out.println("Reversed string by word is : " + strReversedLine); } } /* Output would be Reversed string by word is : example word by string Reverse Java */ --------------------------------------------------------------------------------------------------------------------------------------------------------/* Java StringTokenizer count tokens example This example shows how to count remaining tokens of java StringTokenizer object using countTokens() method. */ import java.util.StringTokenizer; public class StringTokenizerCountTokensExample { public static void main(String[] args) { //create StringTokenizer object StringTokenizer st = new StringTokenizer("Java StringTokenizer count Tokens Example"); /* countTokens() method returns the number of tokens remaining from the current delimiter set. It calculates the number of times StringTokenizer's nextToken() method can be called before it generates an exception. Please note that invoking countTokens() method does not advance the current position. */ //iterate through tokens while(st.hasMoreTokens()){ System.out.println("Remaining Tokens : " + st.countTokens()); System.out.println(st.nextToken());

} } } /* Output Would be Remaining Tokens : 5 Java Remaining Tokens : 4 StringTokenizer Remaining Tokens : 3 count Remaining Tokens : 2 Tokens Remaining Tokens : 1 Example */

Reversing a String by Word String test = "Reverse this string"; Stack stack = new Stack(); StringTokenizer strTok = new StringTokenizer(test); while(strTok.hasMoreTokens()) { stack.push(strTok.nextElement()); } StringBuffer revStr = new StringBuffer(); while(!stack.empty()) { revStr.append(stack.pop()); revStr.append(" "); } System.out.println("Original string: " + test); System.out.println("\nReversed string: " + revStr); The output of this code fragment will be Original string: Reverse this string Reversed string: string this Reverse

5)write a program on userdefined exceptions or custom exceptions? package na; public class Nage extends Exception { public Nage(String s) { super(s); } } --> package ap; impoer na.Nage; public class Age { public void decide(String s0throws NumberFormatException,Nage { int age=Integer.parseInt(s); if(age<=0) { Nage na=new Nage("U HAV ENTERED INVALID AGE..!"); throw(na); } else { System.out.println("ok, u hav entered valid age...!"); } } } import na.Nage; import ap.Age; class CDemo { public static void main(String[]args) { try { String s1=args[0]; ap.Age Ao=new ap.Age(); Ao.decide(s1); }

cache(Nage na) { System.out.println(na); } catche(NumberFormatException nfe) { System.out.pritln("PASS ONLY INTEGER VALUES...!"); } catche(ArithmeticException ae) { System.out.println("PASS INTEGER VALUES ONLY...!"); } catch(ArrayIndexOutofBoundsException aioobe) { System.out.println("PASS VALUES THROUGH COMMAND PROMPT...!"); } catch(Exception e) { System.out.println(e); } } }

write a program to print the given String is pallindrom or not? import java.util.*; public class CheckPalindrome{ public static void main(String[]args){ Scanner input=new Scanner(System.in); System.out.print("Enter String: "); String st=input.next(); String str[]=st.split(""); String reversedSt=""; for(int i=str.length-1;i>=0;i--){ reversedSt+=str[i]; } if(st.equalsIgnoreCase(reversedSt)){ System.out.println("String is palindrome"); } else{ System.out.println("String is not palindrome");

} } } write a program to print the FibnoicSeries? import java.util.*; public class Fibonacci{ public static int fibonacciSeries(int n) { if (n == 1) return 1; else if (n == 2) return 1; else return fibonacciSeries(n-1) + fibonacciSeries(n-2); } public static void main(String[] args) throws Exception { Scanner input=new Scanner(System.in); System.out.print("Enter value of n: "); int num = input.nextInt(); for(int i=1;i<=num;i++){ System.out.println(fibonacciSeries(i)); } } }

import java.util.*; class SortList { public static void main(String[] args) { Scanner input=new Scanner(System.in); ArrayList<String> list=new ArrayList<String>(); System.out.println("Enter names of 5 Cricketers: "); for(int i=0;i<5;i++){ String name=input.nextLine(); list.add(name); }

System.out.println("Names of 5 Cricketers in sorted order: "); Collections.sort(list); for(int i=0;i<list.size();i++){ System.out.println(list.get(i).toString()); } } }

import java.util.*; public class ReverseString{ public static String reverse(String st){ String rev = new StringBuffer(st).reverse().toString(); return rev; } public static void main(String[]args){ Scanner input=new Scanner(System.in); System.out.println("Enter string: "); String str=input.nextLine(); System.out.println("Reverse: " + reverse(str)); } }

import java.util.*; class Factorial{ public static int findFactorial(int n) { if (n == 1) { return n; } else { return n * findFactorial(n - 1); } } public static void main(String[] args) { Scanner input=new Scanner(System.in); System.out.print("Enter number: "); int num=input.nextInt(); System.out.println("The factorial of " +num+" is : " + findFactorial(num)); }

Java Custom Exception Sample Code package com.myjava.exceptions; public class MyOwnException { public static void main(String[] a){ try{ MyOwnException.myTest(null); } catch(MyAppException mae){ System.out.println("Inside catch block: "+mae.getMessage()); } } static void myTest(String str) throws MyAppException{ if(str == null){ throw new MyAppException("String val is null"); } } } write a sample code in customexceptions?

class MyAppException extends Exception { private String message = null; public MyAppException() { super(); } public MyAppException(String message) { super(message); this.message = message; } public MyAppException(Throwable cause) { super(cause); }

@Override public String toString() { return message; } @Override public String getMessage() { return message; } } Example Output Inside catch block: String val is null

sir, here i list out some Questions i faced in My Interview. 1) What are the oops concepts and explain them? 2) They can given some programs on Overloading concepts with Exceptions? 3) Difference between Interface and Abstract Class? 4) Which version of java we are using? and what are the features in 1.5 version and explain them? 5) what is Cloning? why we are using Cloning concept? and How many types of cloning? 6) What is Exception? Difference between Exception and Error? 7) How many types of Exceptions and explain and given some examples? 8) How we will handle Exceptions? 9) How to write Customized Exceptions?

10) They are given some programs on Try, Catch and Finally? 11) Explain about Thread life cycle? 12) What is Difference between Sleep and Wait methods? 13) What is the Difference between Notify and NotifyAll methods? 14) What is Yield method? 15) What is Synchronization? 16) can you draw the Collection Hierarchy? 17) What is Difference between list and Set? 18) What is Difference between ArrayList and Vector? 19) How we can sort the elements in HashSet? 20) What is Difference between Comparable and Comparator? 21) What is Difference between Hashmap and HashTable? 22) How we can Synchronize List and set? 23) When we use Enumeration, Iterator and ListIterator? 24) What is the difference String and StringBuffer and StringBuilder? 25) what are the methods are available in Object Class? After these they come to the Advanced Java(Jdbc, Servlets, jsp) 1) How many Drivers are there in Jdbc? Which Driver we are using in your project?

2) Can you write the code for Connecting the database? 3) What is Connection pooling mechanism? How we can implement? 4) Difference between Statement and PreparedStatement? 5) What is Callable Statement? 6) What is Servlet Life Cycle? 7) If iam sending the request at in servlet life cycle which method will be called? 8) What is the difference between Forward and include Mechanisms? 9) What is the difference between Forward and SendRedirect Mechanisms? 10) What is the difference between Servlet Config and servlet Context? 11) What are the Implicit objects in jsp? 12) How we can Handle the Exceptions in Jsp? 13) What are the scopes in jsp? While coming to Struts 1) Explain Struts Flow? 2) What is I18N? 3) What are the Actions are available in Struts? 4) What is the difference between DispatchAction and LookupDispatchAction? 5) What is Switchaction?

6) What is MVC? 7) Struts follows which MVC Architecture? 8) What is FrontContoller? 9) What is Singleton Design Pattern? can you write some code about this? 10) What is DAO and Explain? 11) Which Tags are there in Struts-config.xml file? 12) Difference between Struts1.2 and Struts2.0? 13) How you provide the validations? While Coming to PROJECT MANAGER ROUND 1) Explain about your project? 2) How many Modules are there in your project? 3) What's your Role and Responsibilities? 4) How big is your Team Size? 5) Tell me Some Exceptions you faced in your project? project 6) Which type of Complexity code you written in your 7) Which Version Controller you used? 8) Which type of validations you done in your Project? Etc. Once again I Thanks to Durga sir, Nagoor Babu Sir and Ravindra Sir. Your's N.Venkatesh.

1. Explain features of Java? 2. Explain about polymorphism? 3. What is the purpose of ArrayList? 4. Explain about Hibernate Session Factory? 5. Explain about inheritance and polymorphism in hibernate? 6. Explain about Hibernate Architecture? 7. What is mutable and immutable? 8. What are performance issues you have to faced in your project?

HCL - Hibernate Interview Questions by Mr.Nagaraju (27-3-2010) with 3+ years Java Experience.
1. Explain about Hibernate SessionFactory ? 2. Explain about inheritance & polymorphism in hibernate? 3. Explain about Hibernate Architecture ? 4. Explain about Hibernate mappings ? 5. What is meant by component mapping? 6. What are the problems you faced while using hibernate in your project?

7. Explain about Lazy Loading? 8. Explain differences between get() and load()? 9. What is difference between First level cache and Second level cache? 10. What is the difference Session and SessionFactory? 11. How can we connect more than one database in hibernate applications? 12. Difference between Dialect and Driver? 13. Is it possible to write hibernate application without using hibernate mapping file? 14. Is it possible to write hibernate application without using hibernate configuration file ? 15. Explain about Persistance class life cycle states in hibernate? 16. Explain about hibernate tools? 17. what is hibernate? 18. What is disadvantage using hibernate? 19. What is ORM?

IBM Interview Questions by Mr.Nagaraju with3+yearsJava Experience


Technical questions: 1)What is Spring? 2)What the difference b/w Spring and Ejb?

3)What are advantage using Spring? 4)How many ways we are implementing Threads? which ways is better? 5)What is difference between Jsp and Servlet? 6)Is the servlet Thread singleton? explain the reason? 7)Can you write multi Threading program? 8)What are packages avilable in spring? Project Manager round: 1)How to provide security in your Project?and as well as your module also? 2)What are version using in your project? 3)How to handle Exceptions in your project? 4)What is diamond problem in java 5)What are exception we get doing hibernate in your project? 6)Why we are going to hibernate?

ITC Interview Questions by Mr.Nagaraju with 3+ years Java Experience


Core Java questions:

1. What is the difference between abstract class and interface? 2. Explain about OOPs? 3. Differnce between Hashtable VS HashMap? 4. How will you provide thread safety in ArrayList? 5. Explain about Object class? what are the methods it can have? tell me about tostring()? 6. what are the types of the exceptions? 7. what is immediate super class of RuntimException? 8. can you write one predefined exception code in real time manner? 9. put vs get? 10. Vector vs Array list? 11. what are concepts in 1.5 java? programme? 12. can you write one multi threading

JDBC questions: 1. write DataSource code? use in your project? 2. what are drivers available? which driver you

Servlets question 1. Explain about servlet life cycle?

2. Explain about init() method? 3. if we call destroy() from service() what will happen? 4. Differentiate include file Vs include page? 5. Session management techniques? Spring questions: 1)What is IOC? 2)What is Method injection? 3)What are interfaces available in spring? 4)What is meant by spring? EJB questions: 1)what are ejb sessions in ejb? 2)who do you know your ejb application can have stateful or stateless? 3)what is jndi? 4)what is ejb? Hibernate questions: you give real time 1)Hibernate Assction mappings tell me ? can examples?

2)what is meant by component mapping?2)what is meant by component mapping? 3)what is meant by inheritance mapping in hibernate?

4)what are the problems you get doing hibernate projects? Struts questions: 1)what are actions in struts? 2)what is include action? 3)how to declare exceptions in struts? Project Manager questions: 1)Can you draw your project architecture? 2)What are issues you got in your projects?

SOCIETE GENERALE Interview Questions by Mr.Nagaraju(20-3-2010) with 3+ years Java Experiance


1. Is it possible to override service() method in Servlet? 2. Can we override execute() method in Struts? 3. Explain about Hibernate mappings? in web logic? join() methods ? 4. How can you increase connection pool-size 5. Explain differences between yield() and

T C S Interview Questions by Mr.Nagaraju (27-3-2010) with 3+ years Java Experience.


1. Tell me about your Second project and draw its architecture? 2. Explain about Oops? 3. Encapsulation is keyword or class or interface? 4. How many ways are possible to create a Thread ? which way is better? 5. Explain about Servlets? what are the life cycle methods explain? 6. Among Servlets and JSPs which is better? Where JSP Technology is best suitable. 7. Tell me about jsp Elements? 8. What is difference b/w scriptlet and declaration? 9. Explain about struts flow? 10. What are Action classes available in struts? 11. What is DispatchAction? where did you use in your project? where it configure write code? 12. How to write form bean tags in your struts-configuration file? 13. I have 4 action classes i want get second action class how can i get it? where are you configure? can u write code ? 14. Explain about SingleThreadModel in servlets?

15. Explain about collection overview? 16. What is difference b/w HashMap and Hashtable? 17. What is differance b/w ArrayList and Vector? 18. What are methods available in Collection interface? 19. What is serialization? How can you achieve it?where you used in your project? 20. What is Marker interface? 21. How can you achieve encapsulation your project? 22. Explain about Spring? 23. What is difference b/w Arrays and Collections?

Virtusa Interview Questions by Mr.Nagaraju (27-3-2010) with 3+ years Java Experience.


1. What is the Hibernate? What are files we have requires doing a hibernate application? 2. Explain about Hibernate Architecture? 3. Explain your project flow? What technologies used in your previous project? 4. Explain about Spring Framework features? 5. How do you configure using spring mvc with DAO class? 6. What is Abstraction, inheritance polymorphism?

7. What are Checked vs Unchecked Exceptions? 8. What is AutoBoxing and AutoUnboxing ? Can you Explain with real time example? 9. Explain differences between Abstract class vs interface? 10. Explain differences between HashMap and Hashtable? 11. try{ some code } catch(Exception e) { some code } finally{ some code } which one is optional? 12. try{ some code; system.exit(0); } Catch(Exception e){ Some code } finally{ some code } what will happen? 13. What is the difference b/w extends Thread class and implements Runnable interface? 14. Explain about Servlet life cycle ? 15. How to include one jsp into anther jsp? Which tag we can use for this purpose ? 16. Explain about Struts? 17. Explain Singleton Design pattern? 18. How to connect more than one database in Hibernate? 19. I want change my database from Oracle to MySQL in hibernate. Which configuration changes are required and which classes we have to use?

20. Which tools you used in project? 21. What are version control tools used in your project? Explain about check-in and check-out? 22. What is your team size? 23. How to build modules in your project? Are you used any tool for this? 24. What is Sax parser and Dom parser?

Mahaboob Basha Interview experience@Virtusa with 2+ years experience


Dear Durga Sir, This is Mahaboob Basha, I attended scjp and scwcd classes. I got the offer in Virtusa on 25th Oct, 2010. So I Really Thanks to Durga sir and Nagoor Babu Sir. based on your guidence i got this offer and in IBM also. Interview Process in Virtusa is .... First they conducted the Written Test Round after that Technical Round after they conducted Project Manager Round, after they conducted HR Round. About the Written Test In written test they gave the question paper consisting of 20 questions in which about 10-12questions are on core java. 2-3 questions on servlets and 2-3questions on jsps and 1-2 questions on struts and 1question on spring. In this round I got around 19marks and 16 marks is the cut off. And I could remember some of the questions 1. A Thread object has a method called notify(). (true/false)

2. Which kind of ActionForm doesn't need to implement setter and getter methods by developer? 3. In Struts, which of the following best maps to the "front controller"? 4. One question on Hash Map 5. One question on Hash Set 6. Around 3-4 questions on programs of core java which are very easy. 7. one question on the directory structure of jar file. About my Technical Round......... In technical Round the interviewer took me the interview for 2hours first he asked to me first tell me about myself and after that he asked me about the project and then he started to ask me questions on Core Java.If we are very good at in core java then they asked simple questions on J2EE.And then he will ask only Struts Flow in struts.If we are average in core java on that time they asked some what difficult questions on J2EE.So they mainly Concentration on Core Java. sir, here i list out some Questions i faced in My Interview. 1.What are the oops concepts and explain them? 2.What is mean by Polymorphism and what is the difference between static and dynamic polymorphism? 3.They he asked about the overriding and method hiding? 4.What is mean by singleton class and can u write a program? 5.Difference between Interface and Abstract Class and where did u used interface in your project?

6.Which version of java we are using in your project? and what are the features in 1.5 version? 7.What is Exception? Difference between Exception and Error? 8.What is mean by checked and unchecked Exceptions? 9.He asked me about Try, Catch and Finally and he asked different control flow of try..catch,try..catchfinally type questions? 10.Difference between final,finally,finalize? 11.Explain about Thread life cycle? 12.What is the Difference between Notify and NotifyAll methods? 13.What is Synchronization? 14.What is mean by collection frame work and explain the complete hierarchy? 15.What is difference between Array List and Vector? 16.In ur project where did u used the Array List? 17.Differnce between Comparator and comparable? 18.Difference between Hash Map and Hashtable? 19.Can u explain about the Stack? 20.Can u tell me something about the collections? 21.Tell me something about Enumeration, Iterator and list Iterator? 22.What is the difference String and StringBuffer and StringBuilder?

23.What is mean by immutability? After these he come to the J2EE 1) Can you write the code for Connecting the database using JDBC? 2) What is Connection pooling mechanism? How we can implement? 3) Difference between Statement and PreparedStatement? 4) What is Callable Statement and can u write program for that? 5) What is Servlet Life Cycle? 6) What is the difference between Forward and include Mechanisms? 7) What is the difference between Forward and SendRedirect Mechanisms? 8) What is the difference between Servlet Config and servlet Context? 9) What are the Implicit objects in jsp? 10) How we can Handle the Exceptions in Jsp? 11) What are the scopes in jsp ? While coming to Struts 1) Explain Struts Flow? 2) What are the features of struts 1.3.x version? 3) What are the Actions are available in Struts?

4) What is the difference between DispatchAction and LookupDispatchAction? 5) What is Switchaction and where did used in your project? 6) What are the parameters used in the ActionForward execute()? 7) What is Singleton Design Pattern? can you write some code about this? 8) Which Tags are there in Struts-config.xml file? 9) Can explain about the validations and in your project where did u used the validations? While Coming to PROJECT MANAGER ROUND 1) Explain about your project? 2) How many Modules are there in your project? 3) What's your Role and Responsibilities? 4) How big is your Team Size? 5) Tell me Some Exceptions you faced in your project? 6) Which type of Complexity code you written in your project 7) Which type of validations you done in your Project? 8) Have you helped your team member in your project? 9) If anything dispute arises between your college and you then how will u handle that? 10) If anything dispute arises in your work and personal work then how will u handle it? While Coming to Hr Round

1.Can u tell about yourself and your experience? 2.What is the package you are excepted? 3.Whats your strength and weakness? 4.When will u join the company? Once again I Sincerely Thanks to Durga sir, Nagoor Babu Sir. Yours Mahaboob Basha

Anda mungkin juga menyukai