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

Program List

The document outlines a series of programming tasks in Java, JavaScript, and React, focusing on object-oriented programming concepts, method overloading, encapsulation, inheritance, exception handling, and multithreading. It also includes tasks related to web development using Servlets, JSP, and RESTful APIs with Spring Boot. Additionally, it covers event handling, DOM manipulation, and state management in React applications.

Uploaded by

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

Program List

The document outlines a series of programming tasks in Java, JavaScript, and React, focusing on object-oriented programming concepts, method overloading, encapsulation, inheritance, exception handling, and multithreading. It also includes tasks related to web development using Servlets, JSP, and RESTful APIs with Spring Boot. Additionally, it covers event handling, DOM manipulation, and state management in React applications.

Uploaded by

642vaishnavisvjc
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Write a Java program to create a class Student with data members and member
functions to display student details.
2. Demonstrate method overloading for Area of shapes (circle, rectangle, square).
3. Demonstrate method overloading for Area of shapes (circle, rectangle, square)
using inheritance.
4. Create a class with constructors and show constructor overloading for Area of
shapes (circle, rectangle, square).
5. Write a program to implement encapsulation using private data members and public
getter/setter methods.
6. Develop a Java program to demonstrate inheritance (any one type) and
polymorphism.
7. Create a user-defined package named mypackage and use it in another program.
8. Write a program using branching (if-else, switch) and looping statements to print
Fibonacci series.
9. Write a program using branching (if-else, switch) and looping statements to find
factorial.
10. Implement static data members and static methods in a class.
11. Write a program using arrays and vectors to store and display student marks.
12. Create an abstract class Shape with abstract methods area() and perimeter(); derive
classes for Circle and Rectangle.
13. Demonstrate multiple inheritance using interfaces.
14. Write a program using final keyword for a class, method, and variable.
15. Implement a Java program with try-catch-finally blocks to handle divide by zero
exceptions.
16. Demonstrate the use of throw and throws keywords.
17. Create and handle a user-defined exception (e.g., InvalidAgeException).
18. Write a Java program that implements multithreading using the Thread class
and Runnable interface.
19. Create a Java Servlet to display “Welcome to Java Servlet Programming.”
20. Implement a Servlet to accept form input (name, email) and display it on a web
page.
21. Develop a Servlet application to connect with a database and fetch employee data.
22. Create a JSP page that displays user details submitted via HTML form.
23. Write a JavaScript program to validate a user registration form (check empty fields,
valid email, etc.).
24. Implement conditional statements and loops in JavaScript for computing factorial
of 5.
25. Create a JavaScript program to change the background color of a web page
automatically every 5 seconds.
26. Develop a program to add and remove elements dynamically using DOM methods.
27. Demonstrate event handling (onMouseOver) with HTML buttons.
28. Demonstrate callback functions in JavaScript with a simple example.
29. Create a simple React application that displays “Welcome to React World.”
30. Develop a React component to display student information using props.
31. Implement a stateful component to display and update a counter.
32. Create a React component that fetches and displays data using useEffect().
33. Implement conditional rendering ( login/logout message).
34. Build a form in React to collect user data and display submitted details.
35. Create a to-do list app using hooks (useState, useEffect).
36. Develop a RESTful API using Spring Boot that returns “Hello World.”
37. Create a CRUD application (Create, Read, Update, Delete) using Spring Boot and
MySQL.
38. Develop a Spring Boot microservice that communicates with another service using
REST.

You might also like