0% found this document useful (0 votes)
3 views4 pages

Freshers Interview Questions 12 Lpa

The document outlines key HR interview questions and answers to assess candidates' fit for a position, focusing on self-introduction, project explanation, strengths, and weaknesses. It also includes a comprehensive list of technical interview questions for Java, Advanced Java, Spring Framework, Hibernate, and Spring Boot, covering both theoretical and practical aspects. The content serves as a guide for candidates preparing for technical interviews in the software development field.

Uploaded by

carley
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Freshers Interview Questions 12 Lpa

The document outlines key HR interview questions and answers to assess candidates' fit for a position, focusing on self-introduction, project explanation, strengths, and weaknesses. It also includes a comprehensive list of technical interview questions for Java, Advanced Java, Spring Framework, Hibernate, and Spring Boot, covering both theoretical and practical aspects. The content serves as a guide for candidates preparing for technical interviews in the software development field.

Uploaded by

carley
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

TOPS Technologies

Interview questions asked in an HR interview is to judge if the person would be the best fit for the
position being interviewed for and if he would be able to get accustomed with the company’s culture.
The answers would vary according to the individual’s perspective and nature. We need to relate our
answers to our life scenarios where we had been trying to prove ourselves and trying to build our
career.

1). Introduce yourself

Ans. Keep it brief starting with your full name, education, training and certifications. Specify your
technical skills relevant to the position.

2). Why did you choose this language?

Ans. We need to be confident answering this question, and need to specify strongly your interest in the
language.

3). Explain your project.

Ans. Never start explaining your project in terms of admin and customer module. Start with the name,
purpose, duration and your role in the project. Then explain the technical tools used and the features
you had implemented different from other similar projects.

4). What do you know about our company?

Ans. Do some background work and gather company details before you go for interview through its
website. Focus on the technology they work on, their clients, projects and company growth history.

5). What are your strengths?

Ans. Specify your strengths that suit the position and how you could be a great employee. Rather than
answering in statements use appropriate adjectives and highlight how you outshine others. Be ready to
give justifications if asked.

6). Specify your weakness?

Ans. Be careful answering this question and try to specify something that will not harm your prospects
of getting selected and do inform that you are working on it. For example. You are not that organized
managing your things at home and you are dying hard to work on it and have also ensured that you will
manage your room on your own.
Interview Questions for Java
1. Core Java:

Theory Questions:

1. What is the difference between JDK, JRE, and JVM?


2. List the features of Java Programming language.
3. What are the various access specifiers in Java?
4. What is the purpose of static methods and variables?
5. What is the constructor? And Types of constructor Explain.
6. Does constructor return any value?
7. Can you make a constructor final?
8. What are the differences between the constructors and methods?
9. What is the static method?
10. Can we override the static methods?
11. What is Array? And Explain Types of Array.
12. What is String? And Explain memory allocation of string data.
13. Why String is immutable in JAVA?
14. How can we make String as Mutable?
15. What is OOPS?
16. Is there any procedure to execute OOPS concepts in JAVA?
17. What is Class?
18. What is Object?
19. What is Inheritance? Explain types of inheritance.
20. Which inheritance is not supported by JAVA? And why?
21. What is Polymorphism and types of polymorphism Explain.
22. Explain use of super keyword in java.
23. Explain Abstraction and how data hide from user?
24. Can we make abstract class as final? Why?
25. What is Encapsulation? And how to use data of an object instead of hashcode?
26. Explain final keyword.
27. What is Interface? How interface solve issue of multiple inheritance in JAVA?
28. Difference between Abstract class and Interface.
29. What is Exception? Types of exception by Oracle.
30. Explain keyword using which we can handle exception by different ways.
31. Explain user-define exception.
32. What is serialization and de-serialization.
33. What is Thread? How many ways are there using which we can achieve thread?
34. Which way is better to achieve thread and why?
35. What is Collection-Framework?
36. Difference between array and ArrayList.
37. Difference between List and Set.
38. Difference between ArrayList and Vector.
39. Difference between HashSet and TreeSet.
40. Explain Map and Entry Interface.
41. Difference between HashMap and HashTable.
42. What is use of generics?

Practical Questions:
1. Write a program to demonstrate method overloading and method overriding.
2. Write a Java program to implement multithreading using Runnable interface.
3. Implement a Java program that uses exception handling to manage a divide-by-zero error.
4. Write a Java program to read data from a file using BufferedReader.
5. Write a program to create a custom exception and demonstrate its usage.

2. Advance Java:

Theory Questions:

1. What is JDBC and what are the different types of JDBC drivers?
2. Explain the concept of servlets. How do servlets handle HTTP requests?
3. What is the difference between GET and POST methods in HTTP?
4. How does the session management work in Java EE?
5. Explain the role of JSP in Java web applications.
6. What is the Model-View-Controller (MVC) architecture and how is it implemented in Java?
7. Explain the concept of connection pooling in Java.
8. What are the types of elements with Java Server Pages (JSP)?
9. Explain the Life Cycle of a servlet.
10. What are some of the advantages of using JSP?
11. How does JSP work?
12. What is JSTL?
13. What are JSTL Core tags used for?
14. What are Implicit JSP Objects?

Practical Questions:

1. Write a Java program to connect to a MySQL database using JDBC and retrieve data.
2. Create a simple Java Servlet that handles GET and POST requests.
3. Develop a basic login system using JSP and Servlets.
4. Create a CRUD application using JDBC for interacting with a MySQL database.

3. Spring Framework:

Theory Questions:
1. What is Spring Framework? What are its main features?
2. Explain the concept of Dependency Injection (DI) in Spring.
3. What is Spring Bean? Explain its lifecycle.
4. What are the different types of autowiring in Spring?
5. What is Spring AOP (Aspect-Oriented Programming)? Give a use case for AOP.
6. How does Spring handle transaction management?
7. Explain the difference between @Component, @Service, @Repository, and
@Controller annotations.
8. What is the role of ApplicationContext in Spring?
9. What are the bean scopes available in Spring?
10. What is autowiring and name the different modes of it?
11. What are the limitations of autowiring?

Practical Questions:
1. Create a Spring application that demonstrates Dependency Injection using @Autowired.
2. Implement a Spring-based application with CRUD operations using JdbcTemplate.
3. Demonstrate how to configure transaction management in Spring.
4. Create a simple Spring AOP example using the @Aspect annotation.

4. Hibernate Framework:

Theory Questions:

1. What is Hibernate? How does it simplify database operations?


2. What are the advantages of Hibernate over JDBC?
3. Explain Hibernate Session and its lifecycle.
4. What is ORM in Hibernate?
5. What is a SessionFactory?
6. What is a Session in Hibernate?
7. What is HQL?
8. What is hibernate caching?
9. Can we declare the Entity class final?
10. What are the states of a persistent entity?
11. What is the difference between get() and load() in Hibernate?
12. What are the different fetching strategies in Hibernate?
13. How does Hibernate caching work? Explain first-level and second-level caching.
14. What is the significance of the @Entity and @Table annotations?
15. How do you manage relationships (One-to-One, One-to-Many) in Hibernate?

Practical Questions:

1. Create a simple Hibernate application that performs CRUD operations on a MySQL database.
2. Write a program to demonstrate One-to-Many mapping in Hibernate.
3. Implement Hibernate with second-level caching using EHCache.
4. Configure and use Hibernate Query Language (HQL) to retrieve data.

5. Spring Boot:

Theory Questions:

1. What is Spring Boot and how is it different from Spring Framework?


2. What are the features of Spring Boot?
3. Differentiate between Spring and Spring Boot.
4. What does @SpringBootApplication annotation do internally?
5. Can we change the default port of the embedded Tomcat server in Spring boot?
6. What is HibernateTemplate class?
7. Can we create a non-web application in Spring Boot?
8. Describe the flow of HTTPS requests through the Spring Boot application.
9. Explain @RestController annotation in Spring Boot.
10. What is the purpose of using @ComponentScan in the class files?
11. What are the main advantages of using Spring Boot for application development?
12. How does Spring Boot simplify configuration compared to traditional Spring applications?
13. What is application.properties or application.yml in Spring Boot?
14. Explain the concept of Spring Boot Starter dependencies.
15. How does Spring Boot handle logging?
16. What is the role of Spring Boot Actuator?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy