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
BCA(REVISED FALL 2012)
SEMESTER
4
SUBJECT
CODE &
NAME
BCA
4020 - JAVA PROGRAMMING
Q1.
Draw a table of Java Reserved Keywords. [10] 10
Answer:
Keywords are special words
that are of significance to the Java compiler.
There are 48 reserved
keywords currently defined in the Java language (see Table). 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,
or
Q2.
Demonstrate how for loop can be used for control flow.
Answer: For Loop
The usage of for loop
is as follows:
for
(initial statement; termination condition; increment instruction) statement;
When multiple statements are
to be included in the for loop, the statements are included inside
flower braces as below:
for
(initial
Q3.
Differentiate between packages and Interfaces.(5+5)
Answer.
Packages and Interfaces
Packages
Java provides a
mechanism for partitioning the class name space into more manageable chunks.
This mechanism is the package
Q4.
What are Applets? What are the restrictions of Applets? Describe about applet
class.(2+3+5)
Answer.
Applets
An applet is a Java
program that can be embedded in a web page. Java applications are run by using
a Java interpreter. Applets are run on any browser that supports Java. Applets
can also be tested using the appletviewer tool included in the
Java Development Kit. In order to run an applet it must be included in a web
page, using HTML tags. When a
Q5.
Compare JDBC and ODBC (5*2)
Answer.
JDBC and ODBC
Java Data Base
Connectivity (JDBC)
The JDBC API (Java
Data Base Connectivity Application Program Interface) can access any kind
of tabular data, especially data stored in a Relational Database. It
works on top of ODBC (Open Data Base Connectivity) which was the
Q6.
Describe about Java Beans and BeanBox. (5+5)
Answer.
Java Beans and BeanBox
Java Beans
JavaBeans is the
software component architecture for Java. It allows constructing applications
efficiently by configuring and connecting components called Beans. The Beans
need to be written and tested with a rich set of mechanisms for interaction
between objects, along with common actions that most objects will need to
support such as persistence and event
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
No comments:
Post a Comment