Servlet and JSP Practice Questions

The following list provides some of the Servlet and JSP Practice Questions and their solutions. Write a program that displays “Servlet Tutorial – programmingempire.com”. Create a servlet that displays the request headers and their values. Further, create an HTML form that contains text fields, text area, radio buttons, drop-down list, checkboxes, and date. Also, create …

Exercise on Object Oriented Programming in Java

This article presents an Exercise on Object Oriented Programming in Java. The following Exercise on Object Oriented Programming in Java will help you understand the concepts of classes, objects, encapsulation, static methods, polymorphism, method overriding, and inheritance. Also, the solution for each program is provided here. Create a class named Box with three attributes – …

A Video Library Application in Java

In this article, I will discuss a Video Library Application in Java. The following application explains the concept of object-oriented programming in Java. It shows how to perform abstraction and encapsulation. We design the application as follows. There are two entities: CD_Video, and VideoLibrary. Further, the CD_Video represents a Video CD. For simplicity, it has …