SlideShare a Scribd company logo
1 of 3
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.
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
Call us at : 08263069601

More Related Content

What's hot

Learn java in hindi
Learn java in hindiLearn java in hindi
Learn java in hindiVipin sharma
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA pptbrijesh kumar
 
What are Generics in Java | Java Generics Tutorial | Edureka
What are Generics in Java | Java Generics Tutorial | EdurekaWhat are Generics in Java | Java Generics Tutorial | Edureka
What are Generics in Java | Java Generics Tutorial | EdurekaEdureka!
 
java tutorial for beginner - Free Download
java tutorial for beginner - Free Downloadjava tutorial for beginner - Free Download
java tutorial for beginner - Free DownloadTIB Academy
 
Learn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarLearn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarAbir Mohammad
 
JAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKASJAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKASNAVEEN TOKAS
 
Object Oriented Programming - 3. Java Programming
Object Oriented Programming - 3. Java ProgrammingObject Oriented Programming - 3. Java Programming
Object Oriented Programming - 3. Java ProgrammingAndiNurkholis1
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaSaba Ameer
 
Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014 Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014 iimjobs and hirist
 
Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of javavinay arora
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core javaAisha Siddiqui
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruitersph7 -
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.Bhautik Jethva
 

What's hot (19)

Learn java in hindi
Learn java in hindiLearn java in hindi
Learn java in hindi
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
 
Java PPT
Java PPTJava PPT
Java PPT
 
01slide
01slide01slide
01slide
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA ppt
 
What are Generics in Java | Java Generics Tutorial | Edureka
What are Generics in Java | Java Generics Tutorial | EdurekaWhat are Generics in Java | Java Generics Tutorial | Edureka
What are Generics in Java | Java Generics Tutorial | Edureka
 
java tutorial for beginner - Free Download
java tutorial for beginner - Free Downloadjava tutorial for beginner - Free Download
java tutorial for beginner - Free Download
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
 
Learn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarLearn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat Shahriyar
 
JAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKASJAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKAS
 
Object Oriented Programming - 3. Java Programming
Object Oriented Programming - 3. Java ProgrammingObject Oriented Programming - 3. Java Programming
Object Oriented Programming - 3. Java Programming
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014 Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014
 
Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
 
Core java online training
Core java online trainingCore java online training
Core java online training
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core java
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
 

Viewers also liked

Mk0015 ml0015 service marketing and customer relationship management
Mk0015 ml0015  service marketing and customer relationship managementMk0015 ml0015  service marketing and customer relationship management
Mk0015 ml0015 service marketing and customer relationship managementsmumbahelp
 
Sobral 2004. norte sul
Sobral 2004. norte sulSobral 2004. norte sul
Sobral 2004. norte sulLeonFR
 
Mk0012 retail marketing
Mk0012  retail marketingMk0012  retail marketing
Mk0012 retail marketingsmumbahelp
 
Bnt402 e-commerce
Bnt402   e-commerceBnt402   e-commerce
Bnt402 e-commercesmumbahelp
 
Mca3050 advanced computer networks
Mca3050  advanced computer networksMca3050  advanced computer networks
Mca3050 advanced computer networkssmumbahelp
 
Construction management 2
Construction management 2Construction management 2
Construction management 2smumbahelp
 
Mu0010 – manpower planning and resourcing
Mu0010 – manpower planning and resourcingMu0010 – manpower planning and resourcing
Mu0010 – manpower planning and resourcingsmumbahelp
 
Mk0018– international marketing
Mk0018– international marketingMk0018– international marketing
Mk0018– international marketingsmumbahelp
 
Bt0064, logic design
Bt0064, logic designBt0064, logic design
Bt0064, logic designsmumbahelp
 
Period of Spiritual Instruction introduction to Eschatology
Period of Spiritual Instruction introduction to EschatologyPeriod of Spiritual Instruction introduction to Eschatology
Period of Spiritual Instruction introduction to EschatologyJames Willis
 
Mi0035 computer networks...
Mi0035  computer networks...Mi0035  computer networks...
Mi0035 computer networks...smumbahelp
 
Mi0040 technology management
Mi0040  technology managementMi0040  technology management
Mi0040 technology managementsmumbahelp
 
Mbf401 project appraisal, finance and management
Mbf401 project appraisal, finance and managementMbf401 project appraisal, finance and management
Mbf401 project appraisal, finance and managementsmumbahelp
 
Roof Top Water Proofing Using Yalahanka Tiles
Roof Top Water Proofing Using Yalahanka TilesRoof Top Water Proofing Using Yalahanka Tiles
Roof Top Water Proofing Using Yalahanka TilesD K Associates
 
Mu0013 hr audit -2
Mu0013  hr audit -2Mu0013  hr audit -2
Mu0013 hr audit -2smumbahelp
 
Mh0058 – legal aspects in healthcare administration
Mh0058 – legal aspects in healthcare administrationMh0058 – legal aspects in healthcare administration
Mh0058 – legal aspects in healthcare administrationsmumbahelp
 

Viewers also liked (19)

5th sem
5th sem5th sem
5th sem
 
Mk0015 ml0015 service marketing and customer relationship management
Mk0015 ml0015  service marketing and customer relationship managementMk0015 ml0015  service marketing and customer relationship management
Mk0015 ml0015 service marketing and customer relationship management
 
Sobral 2004. norte sul
Sobral 2004. norte sulSobral 2004. norte sul
Sobral 2004. norte sul
 
Bt0076 tcp ip
Bt0076  tcp ipBt0076  tcp ip
Bt0076 tcp ip
 
Mk0012 retail marketing
Mk0012  retail marketingMk0012  retail marketing
Mk0012 retail marketing
 
Bnt402 e-commerce
Bnt402   e-commerceBnt402   e-commerce
Bnt402 e-commerce
 
Mca3050 advanced computer networks
Mca3050  advanced computer networksMca3050  advanced computer networks
Mca3050 advanced computer networks
 
Construction management 2
Construction management 2Construction management 2
Construction management 2
 
Mu0010 – manpower planning and resourcing
Mu0010 – manpower planning and resourcingMu0010 – manpower planning and resourcing
Mu0010 – manpower planning and resourcing
 
Mk0018– international marketing
Mk0018– international marketingMk0018– international marketing
Mk0018– international marketing
 
Bt0064, logic design
Bt0064, logic designBt0064, logic design
Bt0064, logic design
 
History and evolution of elevators
History and evolution of elevatorsHistory and evolution of elevators
History and evolution of elevators
 
Period of Spiritual Instruction introduction to Eschatology
Period of Spiritual Instruction introduction to EschatologyPeriod of Spiritual Instruction introduction to Eschatology
Period of Spiritual Instruction introduction to Eschatology
 
Mi0035 computer networks...
Mi0035  computer networks...Mi0035  computer networks...
Mi0035 computer networks...
 
Mi0040 technology management
Mi0040  technology managementMi0040  technology management
Mi0040 technology management
 
Mbf401 project appraisal, finance and management
Mbf401 project appraisal, finance and managementMbf401 project appraisal, finance and management
Mbf401 project appraisal, finance and management
 
Roof Top Water Proofing Using Yalahanka Tiles
Roof Top Water Proofing Using Yalahanka TilesRoof Top Water Proofing Using Yalahanka Tiles
Roof Top Water Proofing Using Yalahanka Tiles
 
Mu0013 hr audit -2
Mu0013  hr audit -2Mu0013  hr audit -2
Mu0013 hr audit -2
 
Mh0058 – legal aspects in healthcare administration
Mh0058 – legal aspects in healthcare administrationMh0058 – legal aspects in healthcare administration
Mh0058 – legal aspects in healthcare administration
 

Similar to Bca 4020 java programming

Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in javasmumbahelp
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programmingsmumbahelp
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language Hitesh-Java
 
Java course-in-mumbai
Java course-in-mumbaiJava course-in-mumbai
Java course-in-mumbaiUnmesh Baile
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java LanguagePawanMM
 
Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)Pratima Parida
 
Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)Pratima Parida
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with javasmumbahelp
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docxvikasbagra9887
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web designsmumbahelp
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unitgowher172236
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objectsvmadan89
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programmingsmumbahelp
 
Java report by ravi raja
Java report by ravi rajaJava report by ravi raja
Java report by ravi rajaRaviRaja55
 

Similar to Bca 4020 java programming (20)

Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
 
Java course-in-mumbai
Java course-in-mumbaiJava course-in-mumbai
Java course-in-mumbai
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java Language
 
Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)
 
Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)Java Semimar Slide (Cetpa)
Java Semimar Slide (Cetpa)
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
 
Ijetcas14 385
Ijetcas14 385Ijetcas14 385
Ijetcas14 385
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
 
J introtojava1-pdf
J introtojava1-pdfJ introtojava1-pdf
J introtojava1-pdf
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
String class
String classString class
String class
 
00 intro to java
00 intro to java00 intro to java
00 intro to java
 
Java programming language basics
Java programming language basicsJava programming language basics
Java programming language basics
 
Java report by ravi raja
Java report by ravi rajaJava report by ravi raja
Java report by ravi raja
 

Bca 4020 java programming

  • 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
  • 3. Call us at : 08263069601