July 16, 2021 in C and CPP
Why java is important to the Internet?
b) Why java is important to the Internet?
July 16, 2021 in C and CPP
b) Why java is important to the Internet?
July 16, 2021 in C and CPP
a) What are the layers of abstraction found in an object-oriented program?
July 16, 2021 in C and CPP
4.1 Variables names defined in different blocks can ________ the same.
4.2 When one or more methods have the same name but with different parameters, then the
methods are called ________ methods.
4.3 A method declared as ________ can not have overriding method.
4.4 Package statement helps to create many classes to have ________ name.
4.5 User defined exception can be created using ________ class.
4.6 The ________ are defined in java.lang package.
4.7 ________ streams help to convert raw bytes into basic type of java.
4.8 Java virtual machine is a virtual computer built using ________.
4.9 ________ includes various late-stage activities that you don’t do iteratively.
4.10 ________ is a subject that is simple in principle but has complex subtleties.
July 16, 2021 in C and CPP
Each statement below is either TRUE or FALSE. Choose the most appropriate one and
ENTER in the “tear-off” sheet attached to the question paper, following instructions
therein.
2.1 A java program can be run in any computer running any operating system.
2.2 The bitwise operators can operate on float type operands.
2.3 A subclass can be created which inherits only a few methods of the superclass.
2.4 The file class can be used to read and write data.
2.5 The terms BOLD, PLAIN, ITALIC specifies the type of a font.
2.6 Images can be used in creating JButton.
2.7 Container is a parent class of component.
2.8 BoxLayout Manager is always associated with the Box class.
2.9 Establishing a session is done through connection object.
2.10 Interaction diagrams describe how groups of objects collaborate in some behavior.
July 16, 2021 in C and CPP
1.10 UML depicts information systems as a collection of
A) objects
B) processes
C) data
D) information
July 16, 2021 in C and CPP
1.9 Which one is not a status of loading image in Media Tracker class
A) COMPLETED
B) ABORTED
C) LOADING
D) SUSPENDED
July 16, 2021 in C and CPP
1.8 Which one of these is not an AWT event class?
A) MouseEvent
B) MouseMotionEvent
C) ItemEvent
D) WindowEvent
July 16, 2021 in C and CPP
1.7 Which of the following statements about hierarchy of the class java.awt.Applet is incorrect?
A) An applet is a kind of container
B) An applet is a kind of window
C) An applet is a kind of component
D) An applet is a kind of panel
July 16, 2021 in C and CPP
1.6 Which exception is thrown by read( ) method?
A) Exception
B) FileNotFoundException
C) ReadException
D) IOException
July 16, 2021 in C and CPP - 1
1.5 A package is a collection of
A) classes
B) interfaces
C) editing tools
D) classes and interfaces