Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs
125/subject
if urgent then
call us on 08791490301, 08273413412
PROGRAM
BSc IT
SEMESTER
THIRD
SUBJECT
CODE &
NAME
BT0074,
OOPS with JAVA
Qus:1
What are the keywords that java supports? Describe the data types available in
java programming language.
Answer:
The
keywords that java supports:
Keywords are
special words that are of significance to the Java compiler. There are 48
reserved keywords currently defined in the Java language. These keywords
combined with the syntax of the operators and separators, form the definition
of the Java language. These keywords cannot be used as names for
Q2.
Describe the syntax and working of if-else with an example. Also write a
program in java that assigns a grade based on the value of a test score: an A
for a score of 90% or above, a B for a score of 80% or above, and so on. 10
Answer:
Use the else
if statement to specify a new condition if the first condition is
false.
Syntax
if (condition1) {
Qus:3Describe
with the help of an example the implementation of inheritance in java.
Answer:
The
implementation of inheritance in java:
The extends keyword is used to derive
a class from a superclass, or in other words, extend the functionality of a
Ques 4 What is needed to write JSP based web
application? How does JSP look? How to test JSP?
Ans Programming with JSP will need a thorough
knowledge of how servlets are written and executed as the code segments
inserted in a JSP are mostly Servlet code. If you have already written some ASP
programs you may find it easy to work with JSP as there are so many
similarities
Ques 5 Discuss the information stored in X 509
certificates.
Ans The keytool utility can display import
and export certificates, in addition to key pairs. These certificates are
called X.509 certificates because they follow the X.509 standard, the only one presently
Ques 6 Explain the different JDK Security tools.
Ans Three tools are included in the JDK
(Java Development Kit): Keytool, Jar and Jarsigner.
Keytool
Keytool, the
Java security key tool, is used to create and manage public keys, private keys
and security certificates. It can be used to do the following:
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs
125/subject
if urgent then
call us on 08791490301, 08273413412
No comments:
Post a Comment