These questions were asked in a job posting at Amdocs, Pune. The job was for developers experienced in Java, SQL, UNIX. The interview lasted for 40 minutes. Answers to these questions would be posted soon. If you wish to answer any of these questions, please comment below, the Section Name, Question Number along with your Answer.
General Questions:
- Tell me about yourself?
- Tell me about the project that you are currently working on?
- What are the technologies used in your current project?
- Why did you change your previous company?
- Do you have any questions? (at the end of the interview)
Java Questions:
- On a scale of 5, how do you rate yourself in Java?
- What are the four pillars of Object Oriented Programming (OOPS)?
- What is Encapsulation?
- What is Abstraction?
- What is the difference between Encapsulation and Abstraction?
- What are access specifiers?
- Explain each of the access specifiers: public, default, protected and private.
- Is the default access specifier same as protected?
- Can I access a default member from inside a Sub class?
- Can I access a protected member from a Sub class outside the package of its Base class?
- What is an anonymous class? Can you write code to define an anonymous class?
- What is the difference between a String and a StringBuffer?
- What is the output upon execution of the following code snippet?
- How to use a StringTokenizer?
- What are Collections in Java?
- What is the difference between a Vector and an ArrayList?
- Can you write a program that emulates a Linked List in Java without using the class LinkedList?
- What is a thread in Java?
- What are the uses of threads?
- What is a process in Java?
String a = "Hello";
StringBuffer b = new StringBuffer("Hello");
if(a.equals(b)){
System.out.println("Inside A");
}
else{
System.out.println("Inside B")
}
Java EE Questions:
- Do you know Java EE?
- On a scale of 5, how do you rate yourself in Java EE?
- Do you know EJB?
- What is Life Cycle of a Servlet?
- What are the methods in the Class GenericServlet?
- What is the difference between GenericServlet and HttpServlet?
SQL Questions:
- On a scale of 5, how do you rate yourself in SQL?
- What is DDL?
- What is DML?
- What is the difference between DDL and DML?
- Assume there is a table by name Employee, that has columns emp_name, emp_id and salary.
Write a query that prints emp_name of the employee earning the maximum salary.
UNIX Questions:
- On a scale of 5, how do you rate yourself in UNIX?
- Explain the command mv?
- Explain the command cp?
- What is the difference between mv and cp?
- How to use grep command?
- What command do you use to see all the processes that are running in UNIX?
- Do you know shell scripting?
Read 15 more Java interview questions asked in Amdocs.
You may want to