Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
1. 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 DevelopmentKit(JDK) isan 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 JVMand a few
other resources to finish the recipe to a Java Application.[2] Since the introduction of the Java
platform,ithasbeenbyfar the mostwidelyusedSoftware DevelopmentKit(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 breakstatementwhenappliedtoa loopendsthe statement.A continue statement ends
the iterationof the currentloopand returnsthe control to the loopstatement.If the break keyword
isfollowedbyanidentifierthatisthe label of a randomenclosingstatement,executiontransfersout
of thatenclosingstatement.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:breaksthe current loopandmovesthe cursor
3 Differentiate betweenpackagesandInterfaces.
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.
2. Enumerationsandannotationtypesare special kindsof classesandinterfaces,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
loadsintothe browser.Appletsprovide powerful client-side functionality.Asappletsare loadedfrom
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 languagestoeachother(applicationanddatabase) isrequired.Otherwise, application
programmers need to learn and incorporate database specific languages within their applications.
ODBC (OpenDatabase Connectivity) andJDBC(JavaDatabBase 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