0% found this document useful (0 votes)
5 views2 pages

Essential Web & Java Interview Questions

The document lists important questions related to web development and Java topics, covering HTML basics, Servlets, JavaScript, and the Spring Framework. It includes inquiries about fundamental HTML tags, Servlet lifecycle, JavaScript variables, and the differences between Java and JavaScript. Additionally, it addresses key features of the Spring Framework and REST API implementations in Spring Boot.

Uploaded by

pihumishra12cs
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)
5 views2 pages

Essential Web & Java Interview Questions

The document lists important questions related to web development and Java topics, covering HTML basics, Servlets, JavaScript, and the Spring Framework. It includes inquiries about fundamental HTML tags, Servlet lifecycle, JavaScript variables, and the differences between Java and JavaScript. Additionally, it addresses key features of the Spring Framework and REST API implementations in Spring Boot.

Uploaded by

pihumishra12cs
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

Important Web & Java Topics - Question List

HTML & Web Basics

1. What are the basic HTML tags used in webpage development?

2. How do you create a table using HTML?

3. Explain the structure and purpose of the <body> tag in HTML.

Servlet & Web Concepts

4. What is a Servlet? Explain with its advantages.

5. Explain the life cycle of a Servlet with methods.

6. What is HTTP request and response in Servlets?

7. How is session tracking done in Servlets?

JavaScript

8. What is the difference between var, let, and const in JavaScript?

9. What is an object in JavaScript? Give an example.

10. How do you validate an email using JavaScript code?

11. Write a JavaScript program to add two numbers using a form.

12. Write a JavaScript program to find prime numbers between two given numbers.

13. What are events in JavaScript? Give examples.

14. How are functions declared and used in JavaScript?

Java vs JavaScript

15. What is the difference between Java and JavaScript?

Spring Framework & Spring Boot

16. What are the key features of the Spring Framework?

17. What are the advantages and disadvantages of Spring Boot?

18. What is the difference between constructor injection and setter injection in Spring?

19. Explain the lifecycle of a Spring Bean.


20. What is a REST API? How are GET, POST, PUT, and DELETE implemented in Spring Boot?

You might also like