SlideShare a Scribd company logo
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
FALL 2016, ASSIGNMENT
PROGRAM MCA(REVISED FALL 2012)
SEMESTER 1
SUBJECT CODE & NAME MCA 4030 - PROGRAMMING IN JAVA
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 the following:
a) Multi-threading.
Answer : Multithreading in java is a process of executing multiple threads simultaneously.
Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and
multithreading, both are used to achieve multitasking.
But we use multithreading than multiprocessing because threads share a common memory area.
They don't allocate
b) Significance of Java Bytecode
Answer : Java is build on WODA (Write Once Deploy Anywhere) principle. This means you don't
have to tweak a Java source code if you want to deploy it in another OS. But at the end of the day,
java programsneed a JVMto run on and JVMbeing machine language specific cannot be platform-
neutral. So, we
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 to nextline afterthe loop
e.g.
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.
Enumerationsandannotationtypesare special kindsof classesandinterfaces,respectively,so types
are often referred to in this lesson simply as classes and interfaces.
Creating a Package:
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
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
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
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 (20)

Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
Study Stuff
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
smumbahelp
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programming
smumbahelp
 
Java OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsJava OOP s concepts and buzzwords
Java OOP s concepts and buzzwords
Raja Sekhar
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
ramesh517
 
Basic syntax
Basic syntaxBasic syntax
Basic syntax
Ducat India
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
smumbahelp
 
Mi0041 java and web design
Mi0041 java and web designMi0041 java and web design
Mi0041 java and web design
smumbahelp
 
Concepts of core java
Concepts of core javaConcepts of core java
Concepts of core java
AkshitaMangrulkar
 
Coding conventions
Coding conventionsCoding conventions
Coding conventions
Thitipong Jampajeen
 
Java for C++ programers
Java for C++ programersJava for C++ programers
Java for C++ programers
Salahaddin University-Erbil
 
Java PPT
Java PPTJava PPT
Java PPT
Dilip Kr. Jangir
 
Java interface
Java interface Java interface
Java interface
HoneyChintal
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA ppt
brijesh kumar
 
Java exam 2017
Java exam 2017Java exam 2017
Java exam 2017
Manish Swarnkar
 
Coding conventions
Coding conventionsCoding conventions
Coding conventions
systemcrashed
 
Java
JavaJava
Java
raj esaki
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
Study Stuff
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
smumbahelp
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programming
smumbahelp
 
Java OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsJava OOP s concepts and buzzwords
Java OOP s concepts and buzzwords
Raja Sekhar
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
ramesh517
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
smumbahelp
 
Mi0041 java and web design
Mi0041 java and web designMi0041 java and web design
Mi0041 java and web design
smumbahelp
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA ppt
brijesh kumar
 

Viewers also liked (20)

Glassware
GlasswareGlassware
Glassware
http://bazaarmitragifts.com
 
Argentina estado Chubut
Argentina estado ChubutArgentina estado Chubut
Argentina estado Chubut
valeriaterralavoro
 
EXPLICACION DEL LIBRO DE APOCALIPSIS
EXPLICACION DEL LIBRO DE APOCALIPSISEXPLICACION DEL LIBRO DE APOCALIPSIS
EXPLICACION DEL LIBRO DE APOCALIPSIS
Abimael Romero López
 
Tugasan 2.ppt
Tugasan 2.pptTugasan 2.ppt
Tugasan 2.ppt
Ti Whan Seeh
 
RED ALAMBRICA
RED ALAMBRICARED ALAMBRICA
RED ALAMBRICA
aratoca1
 
argentina
argentinaargentina
argentina
valeriaterralavoro
 
Gestalt
GestaltGestalt
Gestalt
damaleroamna
 
Educación virtual
Educación virtualEducación virtual
Educación virtual
qfbruce
 
Las aulas virtuales
Las aulas virtualesLas aulas virtuales
Las aulas virtuales
Leanny Diecisiete
 
Artemide_Final Presentation 1presenting
Artemide_Final Presentation 1presentingArtemide_Final Presentation 1presenting
Artemide_Final Presentation 1presenting
Dannielle Simpson
 
Servicios publicos domiciliarios2
Servicios publicos domiciliarios2Servicios publicos domiciliarios2
Servicios publicos domiciliarios2
JessiiCa Rojas
 
Argentina estado pampa
Argentina estado pampaArgentina estado pampa
Argentina estado pampa
valeriaterralavoro
 
Referencia mundial colombia
Referencia  mundial colombiaReferencia  mundial colombia
Referencia mundial colombia
damaleroamna
 
IMPACTOS EN LOS NIVELES DE EDUCACION
IMPACTOS EN LOS NIVELES DE EDUCACIONIMPACTOS EN LOS NIVELES DE EDUCACION
IMPACTOS EN LOS NIVELES DE EDUCACION
PaticoDay
 
Home appliances
Home appliancesHome appliances
Home appliances
http://bazaarmitragifts.com
 
Las aulas virtuales
Las aulas virtualesLas aulas virtuales
Las aulas virtuales
Leanny Diecisiete
 
Mb0048 operations research (1)
Mb0048 operations research (1)Mb0048 operations research (1)
Mb0048 operations research (1)
smumbahelp
 
Transfusión
TransfusiónTransfusión
Transfusión
Diana Cornejo
 
Mca 4040 analysis and design of algorithm
Mca 4040  analysis and design of algorithmMca 4040  analysis and design of algorithm
Mca 4040 analysis and design of algorithm
smumbahelp
 
Handcrafted items ppt
Handcrafted items pptHandcrafted items ppt
Handcrafted items ppt
http://bazaarmitragifts.com
 

Similar to Mca 4030 programming in java (20)

Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
smumbahelp
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
smumbahelp
 
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert WBeginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
kuclermialee
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
smumbahelp
 
Viva file
Viva fileViva file
Viva file
anupamasingh87
 
00 intro to java
00 intro to java00 intro to java
00 intro to java
Deia Abdullah
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
smumbahelp
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
vmadan89
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
Vibrant Technologies & Computers
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
Vibrant Technologies & Computers
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
WE-IT TUTORIALS
 
Bt0074 oops with java2
Bt0074 oops with java2Bt0074 oops with java2
Bt0074 oops with java2
Techglyphs
 
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
JAVA INTERVIEW QUESTIONS.pdf java developer engineerJAVA INTERVIEW QUESTIONS.pdf java developer engineer
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
MinElectroneum
 
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
JAVA TECHNICAL INTERVIEW.pdf java developer engineerJAVA TECHNICAL INTERVIEW.pdf java developer engineer
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
MinElectroneum
 
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdfPJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
projectfora2
 
PRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.comPRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.com
venkat60044
 
Java Standard edition(Java ) programming Basics for beginner's
Java Standard edition(Java ) programming Basics  for beginner'sJava Standard edition(Java ) programming Basics  for beginner's
Java Standard edition(Java ) programming Basics for beginner's
momin6
 
PRG 420 NERD Become Exceptional--prg420nerd.com
PRG 420 NERD Become Exceptional--prg420nerd.comPRG 420 NERD Become Exceptional--prg420nerd.com
PRG 420 NERD Become Exceptional--prg420nerd.com
agathachristie127
 
PRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.comPRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.com
williamwordsworth25
 
PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.com
kopiko76
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
smumbahelp
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
smumbahelp
 
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert WBeginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
kuclermialee
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
smumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
smumbahelp
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
vmadan89
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
WE-IT TUTORIALS
 
Bt0074 oops with java2
Bt0074 oops with java2Bt0074 oops with java2
Bt0074 oops with java2
Techglyphs
 
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
JAVA INTERVIEW QUESTIONS.pdf java developer engineerJAVA INTERVIEW QUESTIONS.pdf java developer engineer
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
MinElectroneum
 
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
JAVA TECHNICAL INTERVIEW.pdf java developer engineerJAVA TECHNICAL INTERVIEW.pdf java developer engineer
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
MinElectroneum
 
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdfPJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
projectfora2
 
PRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.comPRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.com
venkat60044
 
Java Standard edition(Java ) programming Basics for beginner's
Java Standard edition(Java ) programming Basics  for beginner'sJava Standard edition(Java ) programming Basics  for beginner's
Java Standard edition(Java ) programming Basics for beginner's
momin6
 
PRG 420 NERD Become Exceptional--prg420nerd.com
PRG 420 NERD Become Exceptional--prg420nerd.comPRG 420 NERD Become Exceptional--prg420nerd.com
PRG 420 NERD Become Exceptional--prg420nerd.com
agathachristie127
 
PRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.comPRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.com
williamwordsworth25
 
PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.com
kopiko76
 

Recently uploaded (20)

dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Contact Lens:::: An Overview.pptx.: Optometry
Contact Lens:::: An Overview.pptx.: OptometryContact Lens:::: An Overview.pptx.: Optometry
Contact Lens:::: An Overview.pptx.: Optometry
MushahidRaza8
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdfAPM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
Association for Project Management
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Contact Lens:::: An Overview.pptx.: Optometry
Contact Lens:::: An Overview.pptx.: OptometryContact Lens:::: An Overview.pptx.: Optometry
Contact Lens:::: An Overview.pptx.: Optometry
MushahidRaza8
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 

Mca 4030 programming in java

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : [email protected] or call us at : 08263069601 FALL 2016, ASSIGNMENT PROGRAM MCA(REVISED FALL 2012) SEMESTER 1 SUBJECT CODE & NAME MCA 4030 - PROGRAMMING IN JAVA 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 the following: a) Multi-threading. Answer : Multithreading in java is a process of executing multiple threads simultaneously. Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and multithreading, both are used to achieve multitasking. But we use multithreading than multiprocessing because threads share a common memory area. They don't allocate b) Significance of Java Bytecode Answer : Java is build on WODA (Write Once Deploy Anywhere) principle. This means you don't have to tweak a Java source code if you want to deploy it in another OS. But at the end of the day, java programsneed a JVMto run on and JVMbeing machine language specific cannot be platform- neutral. So, we 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
  • 2. 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 to nextline afterthe loop e.g. 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. Enumerationsandannotationtypesare special kindsof classesandinterfaces,respectively,so types are often referred to in this lesson simply as classes and interfaces. Creating a Package: 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 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 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
  • 3. that one can rely on them to have certain standard methods like paint(), setSize(), etc. Java Beans are not actually required to inherit a Dear students get fully solved assignments Send your semester & Specialization name to our mail id : [email protected] or call us at : 08263069601