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
(Prefer mailing. Call in emergency )

ASSIGNMENT
DRIVE
PROGRAM
SUBJECT CODE & NAME
SEMESTER
CREDITS
MARKS

WINTER 2014
M.SC. IT
MIT103– Object Oriented Programming
1
4
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.

Q.1 Explain the data types in Java
Answer : Data type specifies the size and type of values that can be stored in an identifier. The Java
language is rich in its data types. Different data types allow you to select the type appropriate to the
needs of the application.
Data types in Java are classified into two types:

Q.2 Explain the different types of Relationships
Answer : Java programs are comprised of a set of interacting objects, and Java derives its power
from the relationships between different objects. Relationships allow a programmer to define
complicated objects by building them out of a simpler series of objects, thus easing the process of
debugging and creating code that can be reused for multiple purposes.
Inheritance :

Q.3 What is Exception? What are the different types of Exceptions?
Answer : An exception is an event, which occurs during the execution of a program, that disrupts the
normal flow of the program's instructions. When an error occurs within a method, the method
creates an object and hands it off to the runtime system. The object, called an exception object,
contains information about the error,
Q. 4 Write a note on stream classes
Answer : In Java IO streams are flows of data you can either read from, or write to. As mentioned
earlier in this tutorial, streams are typically connected to a data source, or data destination, like a
file, network connection etc.
A stream has no concept of an index of the read or written data, like an array does. Nor can you
typically move forth and back in a stream, like you can in an array, or in a file using Random Access
File. A stream is just a continuous flow of data.

Q.5 What is an applet? Explain the applet class
Answer : Applet :
An applet is a Java program that runs in a Web browser. An applet can be a fully functional Java
application because it has the entire Java API at its disposal. There are some important differences
between an applet and a standalone Java application, including the following:
An applet is a Java class that extends the java.applet.Applet class.
A main() method is not invoked on an applet, and an applet class will not define main().
Applets are designed to be embedded
Q.6 Explain the Components of an Event?
Answer : Components of an Event :
In object-oriented programming and distributed object technology, a component is a reusable
program building block that can be combined with other components in the same or other
computers in a distributed network to form an application. Examples of a component include: a
single button in a graphical user interface, a small interest calculator, an interface to a database
manager. Components can be deployed on different servers in a network and communicate with
each other for needed services. A component runs within a context called a container . Examples of
containers include pages on a Web site, Web

Q.7 Write a note on Java Beans
Answer : The JavaBeans™ architecture is based on a component model which enables developers to
create software units called components. Components are self-contained, reusable software units
that can be visually assembled into composite components, applets, applications, and servlets using
visual application builder tools. Java Bean components are known as beans . A set of APIs describes a
component model for a particular language.

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

PPTX
java mini project for college students
PPTX
mini project in c using data structure
PDF
Mikel_Berdufi_SemanticWebSearchEngine_Report
DOCX
revanth_talend_resume
PDF
Java Software
PDF
Amol Shete Resume
PPTX
App Project Planning, by Apple
PPTX
Unit 2 - Introduction to UIKit
java mini project for college students
mini project in c using data structure
Mikel_Berdufi_SemanticWebSearchEngine_Report
revanth_talend_resume
Java Software
Amol Shete Resume
App Project Planning, by Apple
Unit 2 - Introduction to UIKit

What's hot (20)

PPT
Vaccine Reminder - An android project
PPTX
Students report card for C++ project..
DOCX
Resume
DOC
myResumeupdatedFinal-1
DOCX
Pankaj Kh_Updated
DOCX
shamResume (1)
PDF
Cv vipul valvi_java_developer
PDF
Ap quiz app
DOC
Resume_Ravichandra Thota
DOC
Sudeep-Resume
DOCX
JavaResume
PDF
My_Resume
DOCX
Recent resume
DOCX
srinu_java_3.4year_experience
DOCX
Resume upto august 2016
DOC
Antelson_Resume
PPTX
Java applet programming using jdbc2
PPTX
Intro To C++ - Class 14 - Midterm Review
DOCX
Mit4021–%20 c# and .net
Vaccine Reminder - An android project
Students report card for C++ project..
Resume
myResumeupdatedFinal-1
Pankaj Kh_Updated
shamResume (1)
Cv vipul valvi_java_developer
Ap quiz app
Resume_Ravichandra Thota
Sudeep-Resume
JavaResume
My_Resume
Recent resume
srinu_java_3.4year_experience
Resume upto august 2016
Antelson_Resume
Java applet programming using jdbc2
Intro To C++ - Class 14 - Midterm Review
Mit4021–%20 c# and .net
Ad

Similar to Mit103 object oriented programming (20)

DOCX
Mcs 024 assignment solution (2020-21)
DOC
Java interview faq's
PPT
java introduction
PDF
Java Programming.pdf
DOCX
Mca 4030 programming in java
DOCX
Mca 4030 programming in java
PPT
PPTX
Java/Servlet/JSP/JDBC
PPT
Java SpringMVC SpringBOOT (Divergent).ppt
DOCX
Mit103 object oriented programming
DOCX
Mca 4030 programming in java
PDF
Java programming material for beginners by Nithin, VVCE, Mysuru
PDF
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
PDF
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
PDF
java04
DOCX
Bca 4020 java programming
PDF
Java interview questions
PDF
JAVA 4.pdfdhfvksfvhsjfbjhdjhbjshjshjvcjdbh
PPT
Java ppts unit1
Mcs 024 assignment solution (2020-21)
Java interview faq's
java introduction
Java Programming.pdf
Mca 4030 programming in java
Mca 4030 programming in java
Java/Servlet/JSP/JDBC
Java SpringMVC SpringBOOT (Divergent).ppt
Mit103 object oriented programming
Mca 4030 programming in java
Java programming material for beginners by Nithin, VVCE, Mysuru
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
java04
Bca 4020 java programming
Java interview questions
JAVA 4.pdfdhfvksfvhsjfbjhdjhbjshjshjvcjdbh
Java ppts unit1
Ad

Mit103 object oriented 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 (Prefer mailing. Call in emergency ) ASSIGNMENT DRIVE PROGRAM SUBJECT CODE & NAME SEMESTER CREDITS MARKS WINTER 2014 M.SC. IT MIT103– Object Oriented Programming 1 4 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. Q.1 Explain the data types in Java Answer : Data type specifies the size and type of values that can be stored in an identifier. The Java language is rich in its data types. Different data types allow you to select the type appropriate to the needs of the application. Data types in Java are classified into two types: Q.2 Explain the different types of Relationships Answer : Java programs are comprised of a set of interacting objects, and Java derives its power from the relationships between different objects. Relationships allow a programmer to define complicated objects by building them out of a simpler series of objects, thus easing the process of debugging and creating code that can be reused for multiple purposes. Inheritance : Q.3 What is Exception? What are the different types of Exceptions? Answer : An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions. When an error occurs within a method, the method creates an object and hands it off to the runtime system. The object, called an exception object, contains information about the error,
  • 2. Q. 4 Write a note on stream classes Answer : In Java IO streams are flows of data you can either read from, or write to. As mentioned earlier in this tutorial, streams are typically connected to a data source, or data destination, like a file, network connection etc. A stream has no concept of an index of the read or written data, like an array does. Nor can you typically move forth and back in a stream, like you can in an array, or in a file using Random Access File. A stream is just a continuous flow of data. Q.5 What is an applet? Explain the applet class Answer : Applet : An applet is a Java program that runs in a Web browser. An applet can be a fully functional Java application because it has the entire Java API at its disposal. There are some important differences between an applet and a standalone Java application, including the following: An applet is a Java class that extends the java.applet.Applet class. A main() method is not invoked on an applet, and an applet class will not define main(). Applets are designed to be embedded Q.6 Explain the Components of an Event? Answer : Components of an Event : In object-oriented programming and distributed object technology, a component is a reusable program building block that can be combined with other components in the same or other computers in a distributed network to form an application. Examples of a component include: a single button in a graphical user interface, a small interest calculator, an interface to a database manager. Components can be deployed on different servers in a network and communicate with each other for needed services. A component runs within a context called a container . Examples of containers include pages on a Web site, Web Q.7 Write a note on Java Beans Answer : The JavaBeans™ architecture is based on a component model which enables developers to create software units called components. Components are self-contained, reusable software units that can be visually assembled into composite components, applets, applications, and servlets using visual application builder tools. Java Bean components are known as beans . A set of APIs describes a component model for a particular language. Dear students get fully solved assignments Send your semester & Specialization name to our mail id :
  • 3. “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency )