0% found this document useful (0 votes)
98 views3 pages

JDBC Stands For Jango Data Collection Java Database Connectivity Java Duty Connect Java Data Collection

The document contains a quiz with multiple choice questions about Java programming concepts. Some of the key points covered include: - Java was invented by James Gosling in 1991 - Java is an object-oriented and platform independent programming language - The JDK (Java Development Kit) is required to run Java applications and contains files like class files - The Java Virtual Machine is at the heart of Java's platform - Common Java concepts included in the quiz are classes, interfaces, packages, inheritance, threads, exceptions and events

Uploaded by

Swati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views3 pages

JDBC Stands For Jango Data Collection Java Database Connectivity Java Duty Connect Java Data Collection

The document contains a quiz with multiple choice questions about Java programming concepts. Some of the key points covered include: - Java was invented by James Gosling in 1991 - Java is an object-oriented and platform independent programming language - The JDK (Java Development Kit) is required to run Java applications and contains files like class files - The Java Virtual Machine is at the heart of Java's platform - Common Java concepts included in the quiz are classes, interfaces, packages, inheritance, threads, exceptions and events

Uploaded by

Swati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Sr.

Question Option A Option B Option C Option D


No
1 Java is invented James Goslavis Dennis Ritchie James Gosling James John
by_______in 1991.
2 Java is an ___________ Object Oriented Procedure Structured Memory model
programming Oriented
3 Java is a _____ Platform Platform Imperative None of these
programming language. independent dependent
4 JDBC stands for Jango data Java Database Java Duty Java Data
Collection Connectivity Connect Collection
5 ________is the software Java Developemnt Netbeans Java Runtime None of these
required to run any Kit Environment
application deployed on
Java Platform.
6 _______is at the heart of Java Virtual Java Java Runtime None of these
Java's Platform. Machine Developemnt Kit Environment

7 When the java source code .class file .object file .java file .cpp file
is compiled, _____is
generated.
8 API stands Application Application Application Actual program
for_________________. Programming Procedure Programme Interface
Interface Interface Interface
9 A____________is group of API Package Classes Object
classes and interfaces.
10 This package contains java.util java.lang java.io java.applet
classes and interfaces related
to input - output operations

11 The JDK contains set of .class file .object file .java file .exe file
_____________files to
develop java applications
12 Byte data type occupies 1 byte 2 byte 4 byte 8 byte
_________of memory.
13 Out of these which is not Must begin with a Space is not keyword is not Special symbol is
applicable to Identifier? digit allowed allowed not allowed
14 Which selection statement for statement while statement do … while if statement
allowed in java? statement
15 Which statement is known if …else if nested if switch
as case control statement?
16 Which is an entry control for statement while statement do… while if statement
statement? statement
17 ________is a copy of class objet data type array applet
which occupies memory.
18 It is specially used for Menu Neted If else nested for do while switch
Driven Program.
19 What are the class methods? member functions static members public members data members
20 Defining two or more method method pass by value pass by reference
methods within a class that overloading overriding
shares the same name, but
different parameter list
which is known
as__________
21 _________is a special static block constructor overloading overriding
member function, mainly
used to initialize an object.
22 Which is an exit control for statement while statement do… while if statement
statement? statement
23 Which is used to terminate break jump return this
any loop immediately?
24 A________is core of any object class constructor keyword
object oriented
programming language.
25 Out of these which is not Single Inheritance Multiple Multilevel Hybrid
type of inheritance? Inheritance Inheritance Inheritance
26 The class whose properties Super class base class child class this class
are being derived is called
as______________.
27 The clas which is deriving Super class base class child class this class
the properties the properties
is called as ________

28 A class which contains Super class base class abstract class public class
atleast one abstract method
is known as_________.
29 What is interface? set of data set of data set of data set of members
members and data members and members and and abstract
functions member abstract functions functions
functions
30 The keyword ________is implements extends import extract
used to extends an interface
with another interface.

31 Which is not a access public private import protected


specifier?
32 which is default package java.io java.util java.lang java.applet
imported in every java
programming?
33 which datatype contains array int enum char
fixed set of constant?
34 It is set of similar data type array int enum char
which has static memory
allocation.
35 What is vector? collections of collections of collections of collections of data
framework class framework object framework types
abstract class
36 Out of these which is not a int capacity() boolean Object Object length()
vector method ? isEmpty() firstElement()
37 What is thread? it is a small part of it is a constructor it is a process it is a class
program
38 What is a multithreading? running multiple running multiple running multiple None of these
threads in parallel threads threads in
sequencially dynamically
39 which class defines thread java.lang.thread java.lang.Thread java.lang.threads java.lang.Threads
methods?
40 Which is not method of wait() notify() notify All() init()
class Object?
41 Which class is super class of java.lang.thread java.lang.excepti java.lang.Throw java.lang.Throwa
all erroe and exceptions? on ble
42 Which of these class is EventObject EventClass EventAction ActionEvent
super class of all the
events?
43 Which method is used to write() read() writeOnly() writeln()
write console output?
44 ________is a JDK tool AppletViewer AppletWriter AppletView AppletDisplay
which is used toexecute Java
applets
45 Which API package java.awt java.AWT java.Awt java.lang
contains AWT components
and interfaces?
46 ____is a child window of to Frame class Panel class window class button class
level window
47 __________is an action Event Source Object trigger
perfomed on any resources.

48 _________is the object Event Listener Source trigger


which gets notified when an
event occurs.
49 Which of these packages    java.applet java.awt java.event java.awt.event
contains all the classes and
methods required for even
handling in Java?
50 Which of these methods addKeyListener( addKistener() KeyListener() eventKeyboardL
are used to register a ) istener()
keyboard event listener?

You might also like