Professional Documents
Culture Documents
Dear Students,
on kvsude@gmail.com OR call
us to +91
Qus:2 What do you understand by Literals? Put down Integer literals and Floating-point literals in
detail.
Meaning of Literals
Explaining the details of Integer literals and Floating-point literals
Answer:
Meaning of Literals:
A literal is a constant value that does not have an identifier. Literals are commonly used to initialize variables.
It can be any number,
Qus:3 How is file read by using Buffered Output Stream?
Answer:
Detailed explanation with program:
Normally, whenever we write data into a file using
Qus:4 Elaborate on the try and catch Blocks, its processes and codes.
Answer:
Describing the try and catch Blocks:
The try block in a Java program is used to enclose a statement that may lead to an exception. A try block must
be followed by a catch block. The catch block acts as an exception handler and contains the object of the
specified exception class, which handles the raised exception. The code written in the catch block is executed
when the exception handler is invoked by the Java runtime system.
Answer:
Writing simple JSP pages formation through java:
In this section, we are creating a simple web application with two JSP pages. As we have not yet discussed the
various constructs used in JSP, such as scriptlets and directives, we create simple JSP pages to give you an idea
of how they can be designed, used, and accessed by a web application. Now, let's create a SimpleApp web
application
Dear Students,
on kvsude@gmail.com OR call
us to +91