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
DRIVE
|
FALL 2016
|
PROGRAM
|
Master of Science in Information
Technology (MSc. IT)
|
SEMESTER
|
1
|
SUBJECT CODE & NAME
|
MIT108 - OBJECT ORIENTED PROGRAMMING
|
BK ID
|
B1477
|
CREDITS
|
4
|
MARKS
|
30
|
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.
Question.
1. Write a short note on Java Buzz words.
Answer:Following are the features or buzzwords of Java language which made it
popular:
Simple:
· Java easy to learn
· It is easy to write programs using Java
· Expressiveness is more in Java.
· Most of the complex or confusing features in
C++ are removed in Java like pointers etc..
Question.
2. Differentiate Break and Continue statements in Java with example program.
Answer:break and continue in Java are two essential keyword beginners needs to
familiar while using loops ( for loop, while loop and do while loop). break
statement in java is used to break the loop and transfers control to the line
immediate outside of loop while continue is used to escape current execution
and transfers control back to start of the loop. Both break and continue allows
programmer to create sophisticated algorithm and
Question.
3. Differentiate between packages and Interfaces.
Answer:There is a huge difference between packages and interfaces. A package is a scoping mechanism for classes
within a group. So that the names used
for classes in one package do not conflict with the names (even if they are the
same) of classes and public methods in another package.
Interfaces have nothing to do with scoping...
they have to do with having behaviors cross a set of classes outside of an
inheritance chain. Of course, behaviors
are shared via inheritance from parent class to child class - but what do you
do if you want to share
Question.
4. What are Applets? What are the restrictions of Applets? Describe about
applet class.
Answer:A Java applet is a small application which is written in Java or another
programming language that compiles to Java bytecode and delivered to users in
the form of that bytecode. The user launches the Java applet from a web page,
and the applet is then executed within a Java Virtual Machine (JVM) in a
process separate from the web browser itself. A Java applet can appear in a
frame of the web page, a new application window, Sun's AppletViewer, or a
stand-alone tool for testing applets. Java applets were introduced in the first
Question.
5. Compare JDBC and ODBC.
Answer:ODBC is an open interface which can be used by any application to
communicate with any database system, while JDBC is an interface that can be
used by Java applications to access databases. Therefore, unlike JDBC, ODBC is
language independent. But by using JDBC-to-ODBC bridge Java applications can
also talk to any ODBC compliant database.
· Multithread: JDBC is multi-threaded - ODBC is
not multi-threaded (at least not thread safe)
·
Flexibility:
ODBC is a windows-specific technology - JDBC is specific to Java, and is
therefore supported on whatever OS supports Java
Dear
students get fully solved assignments
Send
your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call
us at : 08263069601
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.