SlideShare a Scribd company logo
1 of 3
PROGRAM BSc IT 
SEMESTER THIRD 
SUBJECT CODE & NAME BT0074, OOPS with JAVA 
CREDIT 4 
BK ID B1002 
MAX. MARKS 60 
Dear students get fully solved assignments 
Send your semester & Specialization name to our mail id : 
“ help.mbaassignments@gmail.com ” 
or 
Call us at : 08263069601 
(Prefer mailing. Call in emergency ) 
Q. 1. What are the keywords that java supports? Describe the datatypes 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 
different color for easy identification.The Java programming language is a statically typed language, 
which means that every variable and every expression has a type that is known at compile time.The Java 
programming language is also a strongly typed 
Q. 2. Describe StringBuffer class in java. List all the functionsrelevant to it and explain any five of 
them. 
Answer:StringBuffer class is a mutable class unlike the String class which is immutable. Both the capacity 
and character string of a StringBuffer Class. StringBuffer can be changed dynamically. String buffers are
preferred when heavy modification of character strings is involved (appending, inserting, deleting, 
modifying etc). 
Strings can be obtained from string buffers. Since the StringBuffer class does not override the equals() 
method from the Object class, contents of string buffers should be converted to String objects for string 
comparison. 
A StringIndexOutOfBoundsException is thrown if an 
Q. 3. Describe with the help of an example the implementation ofinheritance in java. 
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 
Q. 4. Describe the catch and finally block statement in java withexamples. 
Answer: Java's finally block is useful in exception handling and always used in conjunction with try block. 
There should at least be one try block that finally block can be associated to. The try encloses a block of 
code in which exception may occur. When a piece of code throws an exception, it stops processing the 
remaining code in try block and transfers the control to an appropriate catch block if a catch block exists 
(catch block is optional), else control gets 
Q. 5. Draw and Explain the Life cycle of a java applet with anexample. 
Answer:Various states, an applet, undergoes between its object creation and object removal (when the 
job is over) is known as life cycle. Each state is represented by a method. There exists 5 states 
represented by 5 methods. That is, in its life of execution, the applet exists (lives) in one of these 5 
states. 
These methods are known as "callback
Q. 6. Explain all the steps of running the beanbox. 
Answer: JavaBeans are reusable software components written in Java. These components may be built 
into an application using an appropriate building environment. The Bean Development Kit (BDK) from 
Sun includes a simple example of a building environment which uses beans, called the beanbox, and 
some sample beans. This note will tell you how to set up and use the BDK on the Computer Science & 
Informatics Ubuntu Linux workstations and how to add your own beans to the BeanBox environment. 
The BDK 
Dear students get fully solved assignments 
Send your semester & Specialization name to our mail id : 
“ help.mbaassignments@gmail.com ” 
or 
Call us at : 08263069601 
(Prefer mailing. Call in emergency )

More Related Content

What's hot

Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with javasmumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designStudy Stuff
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programmingsmumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designsmumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designsmumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designsmumbahelp
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programmingsmumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with javasmumbahelp
 
OOP - Polymorphism
OOP - PolymorphismOOP - Polymorphism
OOP - PolymorphismMudasir Qazi
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in csmumbahelp
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web designsmumbahelp
 
Dynamic Polymorphism in C++
Dynamic Polymorphism in C++Dynamic Polymorphism in C++
Dynamic Polymorphism in C++Dharmisha Sharma
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++smumbahelp
 

What's hot (20)

Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programming
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
OOP - Polymorphism
OOP - PolymorphismOOP - Polymorphism
OOP - Polymorphism
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
 
polymorphism ppt
polymorphism pptpolymorphism ppt
polymorphism ppt
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
Polymorphism in oop
Polymorphism in oopPolymorphism in oop
Polymorphism in oop
 
Dynamic Polymorphism in C++
Dynamic Polymorphism in C++Dynamic Polymorphism in C++
Dynamic Polymorphism in C++
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
Polymorphism in java
Polymorphism in javaPolymorphism in java
Polymorphism in java
 

Viewers also liked

Qué es la navidad
Qué es la navidadQué es la navidad
Qué es la navidadcnsg1209
 
Fundamentos de la comunicación clase 2.2
Fundamentos de la comunicación   clase 2.2Fundamentos de la comunicación   clase 2.2
Fundamentos de la comunicación clase 2.2Paola Batlle
 
cse project centre in chennai
cse project centre in chennai cse project centre in chennai
cse project centre in chennai Aishwarya Rajesh
 
mentorship trainingppt
mentorship trainingpptmentorship trainingppt
mentorship trainingpptJanice Nargi
 
íNdice tablas y gráficos en tres niveles
íNdice tablas y gráficos en tres nivelesíNdice tablas y gráficos en tres niveles
íNdice tablas y gráficos en tres nivelesRafael Blanco
 
Analytical Method Development and Validation for Simultaneous Estimation of L...
Analytical Method Development and Validation for Simultaneous Estimation of L...Analytical Method Development and Validation for Simultaneous Estimation of L...
Analytical Method Development and Validation for Simultaneous Estimation of L...pharmaindexing
 
CHANCES RMIT presentation
CHANCES RMIT presentationCHANCES RMIT presentation
CHANCES RMIT presentationToniTeki
 
Komunitni fundraising
Komunitni fundraisingKomunitni fundraising
Komunitni fundraisingHnutiduha
 
Etica de la Enfermeria
Etica de la Enfermeria Etica de la Enfermeria
Etica de la Enfermeria Jess Valkyrjo
 
Proyecto dolce pasa inaes 2014
Proyecto dolce pasa inaes 2014Proyecto dolce pasa inaes 2014
Proyecto dolce pasa inaes 2014Eliam Lopez
 
Semana 9 sistemas de información gerencial (sig)
Semana 9   sistemas de información gerencial (sig)Semana 9   sistemas de información gerencial (sig)
Semana 9 sistemas de información gerencial (sig)edithua
 
Amplified Soccer Sponsorship Presentation
Amplified Soccer Sponsorship PresentationAmplified Soccer Sponsorship Presentation
Amplified Soccer Sponsorship PresentationChris Burt
 
Richard J. Weire Resume
Richard J. Weire ResumeRichard J. Weire Resume
Richard J. Weire ResumeRichard Weire
 

Viewers also liked (20)

Seminar 21-11-2014 - Dr. vd Eerden
Seminar 21-11-2014 - Dr. vd EerdenSeminar 21-11-2014 - Dr. vd Eerden
Seminar 21-11-2014 - Dr. vd Eerden
 
Qué es la navidad
Qué es la navidadQué es la navidad
Qué es la navidad
 
Fundamentos de la comunicación clase 2.2
Fundamentos de la comunicación   clase 2.2Fundamentos de la comunicación   clase 2.2
Fundamentos de la comunicación clase 2.2
 
cse project centre in chennai
cse project centre in chennai cse project centre in chennai
cse project centre in chennai
 
mentorship trainingppt
mentorship trainingpptmentorship trainingppt
mentorship trainingppt
 
íNdice tablas y gráficos en tres niveles
íNdice tablas y gráficos en tres nivelesíNdice tablas y gráficos en tres niveles
íNdice tablas y gráficos en tres niveles
 
Ac circuits
Ac circuitsAc circuits
Ac circuits
 
Stress 1
Stress 1Stress 1
Stress 1
 
Work and Energy
Work and EnergyWork and Energy
Work and Energy
 
Analytical Method Development and Validation for Simultaneous Estimation of L...
Analytical Method Development and Validation for Simultaneous Estimation of L...Analytical Method Development and Validation for Simultaneous Estimation of L...
Analytical Method Development and Validation for Simultaneous Estimation of L...
 
CHANCES RMIT presentation
CHANCES RMIT presentationCHANCES RMIT presentation
CHANCES RMIT presentation
 
Komunitni fundraising
Komunitni fundraisingKomunitni fundraising
Komunitni fundraising
 
Etica de la Enfermeria
Etica de la Enfermeria Etica de la Enfermeria
Etica de la Enfermeria
 
Agronegocios terminado
Agronegocios terminadoAgronegocios terminado
Agronegocios terminado
 
Proyecto dolce pasa inaes 2014
Proyecto dolce pasa inaes 2014Proyecto dolce pasa inaes 2014
Proyecto dolce pasa inaes 2014
 
Dia1
Dia1Dia1
Dia1
 
Semana 9 sistemas de información gerencial (sig)
Semana 9   sistemas de información gerencial (sig)Semana 9   sistemas de información gerencial (sig)
Semana 9 sistemas de información gerencial (sig)
 
Ryker J
Ryker JRyker J
Ryker J
 
Amplified Soccer Sponsorship Presentation
Amplified Soccer Sponsorship PresentationAmplified Soccer Sponsorship Presentation
Amplified Soccer Sponsorship Presentation
 
Richard J. Weire Resume
Richard J. Weire ResumeRichard J. Weire Resume
Richard J. Weire Resume
 

Similar to Bt0074

Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in javasmumbahelp
 
Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programmingsmumbahelp
 
Java interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PuneJava interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PunePankaj kshirsagar
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with javasmumbahelp
 
OCA Java SE 8 Exam Chapter 1 Java Building Blocks
OCA Java SE 8 Exam Chapter 1 Java Building BlocksOCA Java SE 8 Exam Chapter 1 Java Building Blocks
OCA Java SE 8 Exam Chapter 1 Java Building Blocksİbrahim Kürce
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview QuestionsKuntal Bhowmick
 
Java syntax-and-grammars-oct8
Java syntax-and-grammars-oct8Java syntax-and-grammars-oct8
Java syntax-and-grammars-oct8MISSIASABTAL1
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web designsmumbahelp
 
Inheritance in OOPs with java
Inheritance in OOPs with javaInheritance in OOPs with java
Inheritance in OOPs with javaAAKANKSHA JAIN
 
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...Ayes Chinmay
 
Chapter1pp
Chapter1ppChapter1pp
Chapter1ppJ. C.
 
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptxINDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptxIndu65
 

Similar to Bt0074 (20)

Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
Viva file
Viva fileViva file
Viva file
 
Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programming
 
DAY_1.1.pptx
DAY_1.1.pptxDAY_1.1.pptx
DAY_1.1.pptx
 
Java interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PuneJava interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council Pune
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
 
OCA Java SE 8 Exam Chapter 1 Java Building Blocks
OCA Java SE 8 Exam Chapter 1 Java Building BlocksOCA Java SE 8 Exam Chapter 1 Java Building Blocks
OCA Java SE 8 Exam Chapter 1 Java Building Blocks
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Java scjp-part1
Java scjp-part1Java scjp-part1
Java scjp-part1
 
Java syntax-and-grammars-oct8
Java syntax-and-grammars-oct8Java syntax-and-grammars-oct8
Java syntax-and-grammars-oct8
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
 
Basic syntax
Basic syntaxBasic syntax
Basic syntax
 
Suga java training_with_footer
Suga java training_with_footerSuga java training_with_footer
Suga java training_with_footer
 
Inheritance in OOPs with java
Inheritance in OOPs with javaInheritance in OOPs with java
Inheritance in OOPs with java
 
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
 
Java features
Java featuresJava features
Java features
 
PPT Lecture-1.4.pptx
PPT Lecture-1.4.pptxPPT Lecture-1.4.pptx
PPT Lecture-1.4.pptx
 
Java_Roadmap.pptx
Java_Roadmap.pptxJava_Roadmap.pptx
Java_Roadmap.pptx
 
Chapter1pp
Chapter1ppChapter1pp
Chapter1pp
 
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptxINDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
 

Bt0074

  • 1. PROGRAM BSc IT SEMESTER THIRD SUBJECT CODE & NAME BT0074, OOPS with JAVA CREDIT 4 BK ID B1002 MAX. MARKS 60 Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency ) Q. 1. What are the keywords that java supports? Describe the datatypes 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 different color for easy identification.The Java programming language is a statically typed language, which means that every variable and every expression has a type that is known at compile time.The Java programming language is also a strongly typed Q. 2. Describe StringBuffer class in java. List all the functionsrelevant to it and explain any five of them. Answer:StringBuffer class is a mutable class unlike the String class which is immutable. Both the capacity and character string of a StringBuffer Class. StringBuffer can be changed dynamically. String buffers are
  • 2. preferred when heavy modification of character strings is involved (appending, inserting, deleting, modifying etc). Strings can be obtained from string buffers. Since the StringBuffer class does not override the equals() method from the Object class, contents of string buffers should be converted to String objects for string comparison. A StringIndexOutOfBoundsException is thrown if an Q. 3. Describe with the help of an example the implementation ofinheritance in java. 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 Q. 4. Describe the catch and finally block statement in java withexamples. Answer: Java's finally block is useful in exception handling and always used in conjunction with try block. There should at least be one try block that finally block can be associated to. The try encloses a block of code in which exception may occur. When a piece of code throws an exception, it stops processing the remaining code in try block and transfers the control to an appropriate catch block if a catch block exists (catch block is optional), else control gets Q. 5. Draw and Explain the Life cycle of a java applet with anexample. Answer:Various states, an applet, undergoes between its object creation and object removal (when the job is over) is known as life cycle. Each state is represented by a method. There exists 5 states represented by 5 methods. That is, in its life of execution, the applet exists (lives) in one of these 5 states. These methods are known as "callback
  • 3. Q. 6. Explain all the steps of running the beanbox. Answer: JavaBeans are reusable software components written in Java. These components may be built into an application using an appropriate building environment. The Bean Development Kit (BDK) from Sun includes a simple example of a building environment which uses beans, called the beanbox, and some sample beans. This note will tell you how to set up and use the BDK on the Computer Science & Informatics Ubuntu Linux workstations and how to add your own beans to the BeanBox environment. The BDK Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency )