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 a variable,
class, Get fully solved assignment, plz drop a mail with
your sub code
computeroperator4@gmail.com
Charges for mba rs 125/subject and rs 700/semester only.
For other rs 125/subject only
if urgent then call us
on 08791490301, 08273413412
Qus:2
Describe StringBuffer class in java. List all the functions relevant to it and
explain any five of them.
Answer:
StringBuffer
class in java:
StringBuffer is a peer class of String that provides much of the
functionality of strings. As you know, String represents fixed-length,
immutable character sequences. In contrast, StringBuffer represents growable
and writeable character sequences. StringBuffer may have characters and
substrings inserted in the middle or appended to the end.
Qus:3
Describe 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
superclass.
Qus:4
Describe the catch and finally block statement in java with examples.
Answer:
The
catch and finally block statement in java:
Catch
block:
It can associate
an exception-handler with the try block by providing one or more catch handlers
immediately after try block. The following skeletal code illustrates the use of
the catch block.
Qus:5
Draw and Explain the Life cycle of a java applet with an example.
Answer:
Diagram
of the Life cycle of a java applet:
Qus:6
Explain all the steps of running the beanbox.
Answer:
The
steps of running the beanbox:
The
steps are as follows:
·
Dropping beans
onto the composition window : To add a bean to the composition window
first click on the bean’s name or icon in the left-hand ToolBox window. Then
click on the location in the center composition window where you want the new
bean to appear. The chosen bean will appear centered at the new location and
will become the current selected bean for editing.
Get fully solved assignment, plz drop a mail with your sub code
computeroperator4@gmail.com
Charges for mba rs 125/subject and rs 700/semester only.
For other rs 125/subject only
if urgent then call us
on 08791490301, 08273413412
No comments:
Post a Comment