Dear students get fully solved
assignments
Send your semester &
Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
ASSIGNMENT
PROGRAM
|
BCA(REVISED FALL 2012)
|
SEMESTER
|
4
|
SUBJECT CODE & NAME
|
BCA 4020 - JAVA PROGRAMMING BCA 4020 - JAVA PROGRAMMING
|
CREDIT
|
4
|
BK ID
|
B1477
|
MAX.MARKS
|
60
|
Note:
Answer all questions. Kindly note that answers for 10 marks questions should be
approximately of 400 words. Each question is followed by evaluation scheme.
1
Describe about JDK. List and explain any five tools available in JDK.
Answer : The Java Development Kit (JDK) is an
implementation of either one of the Java SE, Java EE or Java ME platforms[1]
released by Oracle Corporation in the form of a binary product aimed at Java
developers on Solaris, Linux, Mac OS X or Windows. The JDK includes a private
JVM and a few other resources to finish the recipe to a Java Application.[2]
Since the introduction of the Java platform, it has been by far the most widely
used Software Development Kit (SDK).[citation needed] On 17 November 2006, Sun
announced that it would be released under the GNU General Public License (GPL),
thus making it free software.
2
Differentiate Break and Continue statements in Java with example program.
Answer : A break
statement when applied to a loop ends the statement. A continue statement ends
the iteration of the current loop and returns the control to the loop
statement. If the break keyword is followed by an identifier that is the label
of a random enclosing statement, execution transfers out of that enclosing
statement. If the continue keyword is followed by an identifier that is the
label of an enclosing loop, execution skips to the end of that loop instead.
break: breaks the
current loop and moves the cursor
3
Differentiate between packages and Interfaces.
Answer : Packages
Definition: A package is a grouping of related types
providing access protection and name space management. Note that types refers
to classes, interfaces, enumerations, and annotation types. Enumerations and
annotation types are special kinds of classes and interfaces, respectively, so
types are often referred to in this lesson simply as classes and interfaces.
Creating
a Package:
To create a package, you choose a name
for the package and put a package statement with that name at the top of every
source file that
4
What are Applets? What are the restrictions of Applets? Describe about applet
class.
Answer : What is an Applet in Java ?
An Applet is a small java program that
runs in a Java enabled web browser. Java Applet is a small piece of java code
that is embedded into HTML page, which gets executed when the HTML page loads
into the browser.Applets provide powerful client-side functionality. As applets
are loaded from remote machines and executed on client-side, there are various
security restrictions on applets. –
Applets
Restrictions
Applets have many restrictions over
the areas of
5
Compare JDBC and ODBC
Answer : Typically, software
applications are written in a specific programming language (such as Java, C#,
etc.), while databases accept queries in some other database specific language
(such as SQL). Therefore, when a software application needs to access data in a
database, an interface that can translate languages to each other (application
and database) is required. Otherwise, application programmers need to learn and
incorporate database specific languages within their applications. ODBC (Open
Database Connectivity) and JDBC (Java DatabBase Connectivity) are two
interfaces that solve this specific problem. ODBC is a platform, language and
operating system independent interface that can be used for this purpose. S
6
Describe about Java Beans and BeanBox.
Answer : A Java Bean is a reusable
software component that can be manipulated visually in an application builder
tool. The idea is that one can start
with a collection of such components, and quickly wire them together to form
complex programs without actually writing any new code.
Software components must, in general,
adopt standard techniques for interacting with the rest of the world. For example, all GUI components inherit the
java.awt.Component class, which means that one can rely on them to have certain
standard methods like paint(), setSize(), etc.
Java Beans are not actually required to inherit a particular
Dear students get fully solved
assignments
Send your semester &
Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.