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
Cis 406 Success Begins / snaptutorial.com
DOCX
Cis 406 Enthusiastic Study - snaptutorial.com
DOCX
Cis 406 Technology levels--snaptutorial.com
DOCX
Bca 4020 java programming
PDF
CIS 406 Effective Communication - tutorialrank.com
DOCX
CIS 406 Inspiring Innovation/tutorialrank.com
DOC
CIS 406 Focus Dreams/newtonhelp.com
DOC
CIS 406 Imagine Your Future/newtonhelp.com   
DOC
CIS 406 Life of the Mind/newtonhelp.com   
DOCX
Cis 406 Extraordinary Success/newtonhelp.com
DOCX
CIS 406 Entire Course NEW
DOCX
Java interview questions and answers
PPT
Share Unit 1- Basic concept of object-oriented-programming.ppt
PDF
MCA NOTES.pdf
DOCX
Mi0041 java and web design
PDF
Object-Oriented Programming in Java.pdf
DOCX
Mit103 object oriented programming
DOCX
Mca 4030 programming in java
PDF
Java chapter 3 - OOPs concepts
DOC
Strayer cis 406 week 10 assignment 2 u grade new
Cis 406 Success Begins / snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
Bca 4020 java programming
CIS 406 Effective Communication - tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Focus Dreams/newtonhelp.com
CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   
Cis 406 Extraordinary Success/newtonhelp.com
CIS 406 Entire Course NEW
Java interview questions and answers
Share Unit 1- Basic concept of object-oriented-programming.ppt
MCA NOTES.pdf
Mi0041 java and web design
Object-Oriented Programming in Java.pdf
Mit103 object oriented programming
Mca 4030 programming in java
Java chapter 3 - OOPs concepts
Strayer cis 406 week 10 assignment 2 u grade new
Ad

Mit103 object oriented programming

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” 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. [email protected] ” or Call us at : 08263069601 (Prefer mailing. Call in emergency )