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
ASSIGNMENT
PROGRAM BSc IT
SEMESTER 3
SUBJECT CODE & NAME BT0074, OOPS with JAVA
CREDIT 4
BK ID B1002
MAX.MARKS 60
Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately
of 400 words. Each questionis followedbyevaluationscheme.
1 What are the keywords that java supports? Describe the data types available in java programming
language.
Answer: In the Java programming language, a keyword is one of 50 reserved words that have a
predefined meaning in the language; because of this, programmers cannot use keywords as names for
variables, methods, classes, or as any other identifier. Due to their special functions in the language,
most integrated development environments for Java use syntax highlighting to display keywords in a
differentcolorforeasyidentification.
2 Describe the syntax and working of if-else with an example. Also write a program in java that assigns
a grade based on the value of a test score: an A for a score of 90% or above, a B for a score of 80% or
above,and so on.
Answer:General if..else syntaxisasfollows:
3 Describe with the helpof an example the implementationofinheritance injava.
Answer: Inheritance in Java is an Object oriented or OOPS concepts, which allows to emulate real world
Inheritance behavior, Inheritance allows code reuse in Object oriented programming language e.g. Java.
Along with Abstraction, Polymorphism and Encapsulation, Inheritance forms basis of Object oriented
programming. Inheritance is implemented using extends keyword in Java and When one Class extends
another Class it inherit all non private members including fields and methods. Inheritance in Java can be
best understand in terms of Parent and Child class, also known as Super class and Sub class in Java
programming language. The class which extends another class becomes Child of the class it extends and
inheritall itsfunctionalitywhichisnotprivate
4 Describe the catch and finallyblockstatement injava with examples.
Answer:
 A finally statement must be associated with a try statement. It identifies a block of statements
that needstobe executedregardlessof whetherornotan exceptionoccurswithinthe tryblock.
 After all other try-catch processing is complete, the code inside the finally block executes. It is
not mandatory to include a finally block at all, but if you do, it will run regardless of whether an
exceptionwasthrownandhandledbythe tryand catch parts of the block.
 In normal executionthe finally


5 Draw and Explainthe Life cycle of a java appletwith an example.
Answer:
/*
AppletLife Cycle Example
Thisjavaexample explainsthe lifecycle of Javaapplet.
*/
importjava.applet.Applet;
importjava.awt.Graphics;
6 Define java beansand beanbox.Describe the advantages of java beanbox.
Answer: In computing based on the Java Platform, JavaBeans are classes that encapsulate many objects
into a single object (the bean). They are serializable, have a zero-argument constructor, and allow access
to properties using getter and setter methods. The name "Bean" was given to encompass this standard,
whichaimsto create reusable software componentsforJava.
Advantages:
 The properties,events,andmethodsof 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 (19)

DOCX
Mit103 object oriented programming
smumbahelp
 
DOCX
Mca2030 object oriented programming – c++
smumbahelp
 
DOCX
Bt0074, oops with java
smumbahelp
 
DOCX
Mca2030 object oriented programming – c++
smumbahelp
 
DOCX
Bt0074, oops with java
smumbahelp
 
DOCX
Bt8903,c# programming
smumbahelp
 
PPTX
Coding conventions
Thitipong Jampajeen
 
DOCX
Bca5020 visual programming
smumbahelp
 
DOCX
Bca5020 visual programming
smumbahelp
 
DOCX
Mca2030 object oriented programming – c++
smumbahelp
 
PPTX
Coding conventions
systemcrashed
 
PPTX
OOP in C#
DevMix
 
PPTX
Polymorphism
Ducat India
 
PPTX
Unusual C# - OOP
Medhat Dawoud
 
PDF
Java & J2EE Coding Conventions
Vijaya Raghava Vuligundam
 
PDF
Reoprt on indutrial training
PratikKhodwe1
 
PDF
I1-I3orIB1-IB2
shaonansalome
 
PDF
37 Java Interview Questions
Arc & Codementor
 
DOCX
Mit4021–%20 c# and .net
smumbahelp
 
Mit103 object oriented programming
smumbahelp
 
Mca2030 object oriented programming – c++
smumbahelp
 
Bt0074, oops with java
smumbahelp
 
Mca2030 object oriented programming – c++
smumbahelp
 
Bt0074, oops with java
smumbahelp
 
Bt8903,c# programming
smumbahelp
 
Coding conventions
Thitipong Jampajeen
 
Bca5020 visual programming
smumbahelp
 
Bca5020 visual programming
smumbahelp
 
Mca2030 object oriented programming – c++
smumbahelp
 
Coding conventions
systemcrashed
 
OOP in C#
DevMix
 
Polymorphism
Ducat India
 
Unusual C# - OOP
Medhat Dawoud
 
Java & J2EE Coding Conventions
Vijaya Raghava Vuligundam
 
Reoprt on indutrial training
PratikKhodwe1
 
I1-I3orIB1-IB2
shaonansalome
 
37 Java Interview Questions
Arc & Codementor
 
Mit4021–%20 c# and .net
smumbahelp
 

Viewers also liked (17)

PPTX
『오피뷰』&【OPGANDA컴】 동탄휴게텔、『오피+VIEW』 마포휴게텔つ 인계동휴게텔
opganda019
 
PPTX
Unresolved conflicts in family relationships
irvingspencer
 
PPT
Jeopardy 1
Roze Stamenkovska
 
PPT
External Academic Audit (2012-2013)-R.D.Sivakumar
Sivakumar R D .
 
PPTX
클라우드 서비스
Hongji Kim
 
PDF
The power of cognitive interviewing and what qualitative research can learn f...
Merlien Institute
 
PDF
아라한사의 스프링 시큐리티 정리
라한사 아
 
PPTX
677-Session 11-Data Analysis-S12
Diane Nahl
 
PPT
Endeavor IV-A Randomized Comparison of a Zotarolimus-Eluting Stent Endeavor...
MedicineAndFamily
 
PPT
농어촌세미나 주님의교회
푸드스마일즈 우양
 
PPTX
제8장 평가와 입시 김주연
wndus
 
PPTX
MCG Spring meeting presentation: The Staffordshire Hoard
dejp3
 
PPSX
오삼산악회 소똥령산행
YongSul용설 Park박
 
PDF
PSD Associates Case Study - "Ride The Roller Coaster"
Paul Davit
 
PPTX
Google apps (구글앱스) unlimited 소개
Charly Choi
 
PPT
미래지향적인 박현준 브랜드 스토리텔링 (Pt)
JUNGEUN KANG
 
PPTX
XE 오픈 세미나(2014-04-26) - 김민수 "XE 나에게 넌~"
XpressEngine
 
『오피뷰』&【OPGANDA컴】 동탄휴게텔、『오피+VIEW』 마포휴게텔つ 인계동휴게텔
opganda019
 
Unresolved conflicts in family relationships
irvingspencer
 
Jeopardy 1
Roze Stamenkovska
 
External Academic Audit (2012-2013)-R.D.Sivakumar
Sivakumar R D .
 
클라우드 서비스
Hongji Kim
 
The power of cognitive interviewing and what qualitative research can learn f...
Merlien Institute
 
아라한사의 스프링 시큐리티 정리
라한사 아
 
677-Session 11-Data Analysis-S12
Diane Nahl
 
Endeavor IV-A Randomized Comparison of a Zotarolimus-Eluting Stent Endeavor...
MedicineAndFamily
 
농어촌세미나 주님의교회
푸드스마일즈 우양
 
제8장 평가와 입시 김주연
wndus
 
MCG Spring meeting presentation: The Staffordshire Hoard
dejp3
 
오삼산악회 소똥령산행
YongSul용설 Park박
 
PSD Associates Case Study - "Ride The Roller Coaster"
Paul Davit
 
Google apps (구글앱스) unlimited 소개
Charly Choi
 
미래지향적인 박현준 브랜드 스토리텔링 (Pt)
JUNGEUN KANG
 
XE 오픈 세미나(2014-04-26) - 김민수 "XE 나에게 넌~"
XpressEngine
 
Ad

Similar to Bt0074, oops with java (20)

PPTX
Chapter5.pptxfghwryhYETHYETH67IOIKUTJJUILOUI
berihun18
 
PPTX
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Ayes Chinmay
 
PPTX
Basics of Java
Sherihan Anver
 
PPTX
Java PPT
Dilip Kr. Jangir
 
DOCX
Java Interview Questions For Freshers
zynofustechnology
 
PPTX
PPT Lecture-1.4.pptx
HimanshuPandey957216
 
DOCX
Mcs 024 assignment solution (2020-21)
smumbahelp
 
PDF
Bt0074 oops with java2
Techglyphs
 
PDF
Java for android developers
Aly Abdelkareem
 
PPTX
OOP-JAVA-ONLYUNIT-2-PPT_removed (1).pptx
deepayaganti1
 
PDF
Java Interview Questions
Kuntal Bhowmick
 
PPT
Java_notes.ppt
tuyambazejeanclaude
 
PDF
Lectupopplkmkmkkpompom-0ookoimmire 2.pdf
rtreduanur247
 
PPT
ANDROID FDP PPT
skumartarget
 
PPTX
Inheritance Interface and Packags in java programming.pptx
Prashant416351
 
PPTX
Java interview-quetions
Mehtaacademy
 
PPTX
Java - Inheritance_multiple_inheritance.pptx
Vikash Dúbēy
 
PDF
Probable questions for semester exam
Kuntal Bhowmick
 
PPTX
Inheritance in OOPs with java
AAKANKSHA JAIN
 
Chapter5.pptxfghwryhYETHYETH67IOIKUTJJUILOUI
berihun18
 
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Ayes Chinmay
 
Basics of Java
Sherihan Anver
 
Java Interview Questions For Freshers
zynofustechnology
 
PPT Lecture-1.4.pptx
HimanshuPandey957216
 
Mcs 024 assignment solution (2020-21)
smumbahelp
 
Bt0074 oops with java2
Techglyphs
 
Java for android developers
Aly Abdelkareem
 
OOP-JAVA-ONLYUNIT-2-PPT_removed (1).pptx
deepayaganti1
 
Java Interview Questions
Kuntal Bhowmick
 
Java_notes.ppt
tuyambazejeanclaude
 
Lectupopplkmkmkkpompom-0ookoimmire 2.pdf
rtreduanur247
 
ANDROID FDP PPT
skumartarget
 
Inheritance Interface and Packags in java programming.pptx
Prashant416351
 
Java interview-quetions
Mehtaacademy
 
Java - Inheritance_multiple_inheritance.pptx
Vikash Dúbēy
 
Probable questions for semester exam
Kuntal Bhowmick
 
Inheritance in OOPs with java
AAKANKSHA JAIN
 
Ad

Bt0074, oops with java

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” or Call us at : 08263069601 ASSIGNMENT PROGRAM BSc IT SEMESTER 3 SUBJECT CODE & NAME BT0074, OOPS with JAVA CREDIT 4 BK ID B1002 MAX.MARKS 60 Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each questionis followedbyevaluationscheme. 1 What are the keywords that java supports? Describe the data types available in java programming language. Answer: In the Java programming language, a keyword is one of 50 reserved words that have a predefined meaning in the language; because of this, programmers cannot use keywords as names for variables, methods, classes, or as any other identifier. Due to their special functions in the language, most integrated development environments for Java use syntax highlighting to display keywords in a differentcolorforeasyidentification. 2 Describe the syntax and working of if-else with an example. Also write a program in java that assigns a grade based on the value of a test score: an A for a score of 90% or above, a B for a score of 80% or above,and so on. Answer:General if..else syntaxisasfollows:
  • 2. 3 Describe with the helpof an example the implementationofinheritance injava. Answer: Inheritance in Java is an Object oriented or OOPS concepts, which allows to emulate real world Inheritance behavior, Inheritance allows code reuse in Object oriented programming language e.g. Java. Along with Abstraction, Polymorphism and Encapsulation, Inheritance forms basis of Object oriented programming. Inheritance is implemented using extends keyword in Java and When one Class extends another Class it inherit all non private members including fields and methods. Inheritance in Java can be best understand in terms of Parent and Child class, also known as Super class and Sub class in Java programming language. The class which extends another class becomes Child of the class it extends and inheritall itsfunctionalitywhichisnotprivate 4 Describe the catch and finallyblockstatement injava with examples. Answer:  A finally statement must be associated with a try statement. It identifies a block of statements that needstobe executedregardlessof whetherornotan exceptionoccurswithinthe tryblock.  After all other try-catch processing is complete, the code inside the finally block executes. It is not mandatory to include a finally block at all, but if you do, it will run regardless of whether an exceptionwasthrownandhandledbythe tryand catch parts of the block.  In normal executionthe finally   5 Draw and Explainthe Life cycle of a java appletwith an example. Answer: /* AppletLife Cycle Example Thisjavaexample explainsthe lifecycle of Javaapplet. */ importjava.applet.Applet; importjava.awt.Graphics; 6 Define java beansand beanbox.Describe the advantages of java beanbox. Answer: In computing based on the Java Platform, JavaBeans are classes that encapsulate many objects into a single object (the bean). They are serializable, have a zero-argument constructor, and allow access to properties using getter and setter methods. The name "Bean" was given to encompass this standard, whichaimsto create reusable software componentsforJava. Advantages:  The properties,events,andmethodsof a
  • 3. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” or Call us at : 08263069601