100% found this document useful (1 vote)
2K views

Question Text: Complete Mark 1.00 Out of 1.00

The document contains 20 multiple choice questions about Java concepts like final variables, static keywords, abstract classes, interfaces, exceptions and try-catch blocks. It tests understanding of key characteristics such as final variables not being able to change value once initialized, static members belonging to the class instead of object and being accessed without object, abstract classes not being instantiable and defining common methods for subclasses to implement, interfaces providing full abstraction with no method body, exceptions occurring in try blocks being handled by catch blocks, and finally blocks containing cleanup code that always executes.

Uploaded by

Jesse Jaucian
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views

Question Text: Complete Mark 1.00 Out of 1.00

The document contains 20 multiple choice questions about Java concepts like final variables, static keywords, abstract classes, interfaces, exceptions and try-catch blocks. It tests understanding of key characteristics such as final variables not being able to change value once initialized, static members belonging to the class instead of object and being accessed without object, abstract classes not being instantiable and defining common methods for subclasses to implement, interfaces providing full abstraction with no method body, exceptions occurring in try blocks being handled by catch blocks, and finally blocks containing cleanup code that always executes.

Uploaded by

Jesse Jaucian
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 59

Question 

1
Complete
Mark 1.00 out of 1.00
Variables that is constants. This variable cannot be change once it is initialized.

Select one:
a. Final variable
b. Local variable
c. Global variable
d. Blank final variable

Question 2
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is used for initializing the static variables.

Select one:
a. Static Keyword
b. Static variable
c. Static members
d. Static Block

Question 3
Complete
Mark 1.00 out of 1.00

Flag question

Question text
If method parameters are declared final then the value of these parameters cannot be
changed.

Select one:
a. False
b. True

Question 4
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Local final variable must be initializing during declaration.

Select one:
a. True
b. False

Question 5
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A final class can be inherited.

Select one:
a. True
b. False

Question 6
Complete
Mark 1.00 out of 1.00
Flag question

Question text

It can access class variables(static variables) without using object(instance) of the class.

Select one:
a. Static block
b. Class variables
c. Static methods
d. Class methods

Question 7
Complete
Mark 1.00 out of 1.00

Flag question

Question text

We can change the value of a final variable.

Select one:
a. True
b. False

Question 8
Complete
Mark 1.00 out of 1.00

Flag question

Question text
A final method cannot be overridden.

Select one:
a. True
b. False

Question 9
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A class can be made static only if it is _______________?

Select one:
a. Static class
b. Static methods
c. Nested class
d. Nested methods

Question 10
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It belong to the class instead of a specific instance, this means you can access it without
object.

Select one:
a. Static members
b. Static Block
c. Static variable
d. Static Keyword

Question 11
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Static variables are also known as ______________________?

Select one:
a. Class methods
b. Class variables
c. Static block
d. Static Keyword

Question 12
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is common to all the instances (or objects) of the class because it is a class level variable.

Select one:
a. Static Block
b. Static members
c. Static Keyword
d. Static variable
Question 13
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A constructor can be declared as final.

Select one:
a. False
b. True

Question 14
Complete
Mark 0.00 out of 1.00

Flag question

Question text

It is a good practice to name final variable in all CAPS.

Select one:
a. True
b. False

Question 15
Complete
Mark 1.00 out of 1.00

Flag question

Question text
Making a member static can access it without object.

Select one:
a. True
b. False

Question 16
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A final variable that is not initialized at the time of declaration is known as _______________.

Select one:
a. Final variable
b. Blank final variable
c. Global variable
d. Local variable

Question 17
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A class can have multiple Static blocks, which will execute in the same sequence in which
they have been written into the program.

Select one:
a. True
b. False
Question 18
Complete
Mark 1.00 out of 1.00

Flag question

Question text

All variables declared in an interface are by default final.

Select one:
a. False
b. True

Question 19
Complete
Mark 0.00 out of 1.00

Flag question

Question text

finalize is used in exception handling.

Select one:
a. False
b. True

Question 20
Complete
Mark 1.00 out of 1.00

Flag question

Question text
Finally is a method that is called by JVM during garbage collection.

Select one:
a. True
b. False

Question 1
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Interface which is declared inside another interface or class.

Select one:
a. Multiple interface
b. Implementation interface
c. Hierarchical interface
d. Nested interface

Question 2
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A class derived from the abstract class must implement all those methods that are declared
as abstract in the parent class.

Select one:
a. False
b. True
Question 3
Complete
Mark 1.00 out of 1.00

Flag question

Question text

You can not have abstract method in a concrete class.

Select one:
a. True
b. False

Question 4
Complete
Mark 1.00 out of 1.00

Flag question

Question text

If a child does not implement all the abstract methods of abstract parent class, then the
child class must need to be declared abstract as well.

Select one:
a. False
b. True

Question 5
Complete
Mark 1.00 out of 1.00

Flag question
Question text

A class which is not abstract is referred as.

Select one:
a. Child class
b. Parent class
c. Abstract class
d. Concrete class

Question 6
Complete
Mark 1.00 out of 1.00

Flag question

Question text

An abstract class can be instantiated.

Select one:
a. True
b. False

Question 7
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Abstract method has no body.

Select one:
a. False
b. True

Question 8
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Interface provides full abstraction as none of its methods have body.

Select one:
a. False
b. True

Question 9
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Have methods and variables just like the class but the methods declared in it are by default
abstract.

Select one:
a. Abstract method
b. Override
c. Abstract class
d. Interface

Question 10
Complete
Mark 1.00 out of 1.00
Flag question

Question text

An abstract class must be extended and in a same way abstract method must be overridden.

Select one:
a. False
b. True

Question 11
Complete
Mark 1.00 out of 1.00

Flag question

Question text

An interface can implement another interface

Select one:
a. False
b. True

Question 12
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The class that implements interface must implement all the methods of that interface.
Select one:
a. False
b. True

Question 13
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A class that is declared using abstract keyword.

Select one:
a. Abstract class
b. Parent class
c. Child class
d. Concrete class

Question 14
Complete
Mark 1.00 out of 1.00

Flag question

Question text

If you declare an abstract method in a class then you don't need to declare the class
abstract as well.

Select one:
a. False
b. True

Question 15
Complete
Mark 1.00 out of 1.00

Flag question

Question text

We can instantiate an interface in java.

Select one:
a. True
b. False

Question 16
Complete
Mark 1.00 out of 1.00

Flag question

Question text

An abstract class has no use until unless it is extended by some other class.

Select one:
a. False
b. True

Question 17
Complete
Mark 0.00 out of 1.00

Flag question

Question text
Extending an interface can implement another interface.

Select one:
a. True
b. False

Question 18
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Nested interface are also known as?

Select one:
a. Outer interface
b. Inner interface
c. Abstract interface
d. Map interface

Question 19
Complete
Mark 0.00 out of 1.00

Flag question

Question text

Class that implements any interface must implement all the methods of that interface, else
the class should be declared abstract.

Select one:
a. True
b. False
Question 20
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The variables declared in an interface are public, static & final by default.

Select one:
a. False
b. True

Question 1
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Statement used to close all the open streams in a program.

Select one:
a. exit;
b. exit()
c. close;
d. close()

Question 2
Complete
Mark 1.00 out of 1.00
Flag question

Question text

It contains all the crucial statements that must be executed whether exception occurs or not.

Select one:
a. Catch block
b. Finally block
c. Exception
d. Try block

Question 3
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Its a good practice to use close() inside finally block.

Select one:
a. True
b. False

Question 4
Complete
Mark 1.00 out of 1.00

Flag question

Question text
If an exception occurs in try block then the control of execution is passed to the
corresponding catch block.

Select one:
a. False
b. True

Question 5
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It contains set of statements where an exception can occur.

Select one:
a. Finally
b. Try block
c. Exception
d. Catch block

Question 6
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A finally block must be associated without a try block.

Select one:
a. False
b. True
Question 7
Complete
Mark 1.00 out of 1.00

Flag question

Question text

An exception in the finally block, behaves exactly like any other exception.

Select one:
a. False
b. True

Question 8
Complete
Mark 1.00 out of 1.00

Flag question

Question text

If no exception occurs in try block then the catch blocks are completely ignored.

Select one:
a. True
b. False

Question 9
Complete
Mark 1.00 out of 1.00

Flag question

Question text
It is where you handle the exceptions, this block must follow the try block.

Select one:
a. Try block
b. Catch block
c. Exception
d. Finally

Question 10
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A try-finally block is not possible without catch block.

Select one:
a. False
b. True

It facilitates you to carry the Java bytecode to any platform.

Select one:
a. Platform Independent
b. Portable
c. Simple
d. Object-Oriented

Question 2
Complete
Mark 1.00 out of 1.00

Flag question
Question text

Java is a write once, runObject Oriented Programming anywhere language.

Select one:
a. Portable
b. Platform Independent
c. Object-Oriented
d. Simple

Question 3
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It checks the code fragments for illegal code that can violate access right to objects.

Select one:
a. JVM
b. Security Manager
c. Classloader
d. Bytecode Verifier

Question 4
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A popular general-purpose programming language and computing platform. It is fast,


reliable, and secure.
Select one:
a. Php
b. C#
c. C++
d. Java

Question 5
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 1.4 was released on

Select one:
a. September 2002
b. September 2004
c. February 2002
d. February 2000

Question 6
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is the on-disk part of Java that creates the JVM.

Select one:
a. JRE
b. JDK
c. J2SE
d. JVM

Question 7
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Allows developers to create Java programs that can be executed and run by the JVM and
JRE.

Select one:
a. JDK
b. JRE
c. J2SE
d. JVM

Question 8
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Feature of java that is very easy to learn, and its syntax is simple, clean and easy to
understand.

Select one:
a. Platform Independent
b. Portable
c. Object-Oriented
d. Simple

Question 9
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The JDK 1.1 was released on

Select one:
a. January 1997
b. February 1996
c. January 1996
d. February 1997

Question 10
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Java is an Object-Oriented programming language developed by ______________ in the early


1990s

Select one:
a. James Gosling
b. Guido Van Rossum
c. Dennis Ritchie
d. Bjarne Stroustrup

Question 11
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The name Java originates from a sort of ____________

Select one:
a. Cappuccino Bean
b. Latte Bean
c. Expresso Bean
d. Mocha Bean

Question 12
Complete
Mark 0.00 out of 1.00

Flag question

Question text

Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java
Virtual Machine dynamically.

Select one:
a. Security Manager
b. Bytecode Verifier
c. Classloader
d. JVM

Question 13
Complete
Mark 0.00 out of 1.00
Flag question

Question text

It is a Java platform component that executes programs.

Select one:
a. JVM
b. JDK
c. J2SE
d. JRE

Question 14
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The JAVA SE 12 was released on

Select one:
a. March 2018
b. September 2019
c. September 2018
d. March 2019

Question 15
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The J2SE 1.3 was released on

Select one:
a. December 1998
b. December 2000
c. May 1998
d. May 2000

Question 16
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Feature of java that means, organizing our software as a combination of different types of
objects that incorporates both data and behavior.

Select one:
a. Portable
b. Object-Oriented
c. Simple
d. Platform Independent

Question 17
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The JDK 1.0 was released on

Select one:
a. February 1997
b. February 1996
c. January 1997
d. January 1996

Question 18
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 1.2 was released on

Select one:
a. December 1998
b. May 1998
c. December 2000
d. May 2000

Question 19
Complete
Mark 0.00 out of 1.00
Flag question

Question text

It determines what resources a class can access such as reading and writing to the local disk.

Select one:
a. Bytecode Verifier
b. JVM
c. Classloader
d. Security Manager

Question 20
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 5.0 was released on

Select one:
a. September 2002
b. September 2004
c. February 2000
d. February 2002

Java is a write once, runObject Oriented Programming anywhere language.

Select one:
a. Object-Oriented
b. Platform Independent
c. Portable
d. Simple

Question 2
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 1.3 was released on

Select one:
a. December 1998
b. May 2000
c. May 1998
d. December 2000

Question 3
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The JAVA SE 12 was released on

Select one:
a. September 2019
b. March 2019
c. September 2018
d. March 2018

Question 4
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The name Java originates from a sort of ____________

Select one:
a. Mocha Bean
b. Latte Bean
c. Expresso Bean
d. Cappuccino Bean

Question 5
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Allows developers to create Java programs that can be executed and run by the JVM and
JRE.

Select one:
a. JVM
b. JDK
c. JRE
d. J2SE

Question 6
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The J2SE 1.2 was released on

Select one:
a. May 2000
b. December 2000
c. December 1998
d. May 1998

Question 7
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Feature of java that is very easy to learn, and its syntax is simple, clean and easy to
understand.

Select one:
a. Simple
b. Object-Oriented
c. Portable
d. Platform Independent

Question 8
Complete
Mark 1.00 out of 1.00
Flag question

Question text

A popular general-purpose programming language and computing platform. It is fast,


reliable, and secure.

Select one:
a. C#
b. Java
c. Php
d. C++

Question 9
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Java is an Object-Oriented programming language developed by ______________ in the early


1990s

Select one:
a. James Gosling
b. Bjarne Stroustrup
c. Dennis Ritchie
d. Guido Van Rossum

Question 10
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The JDK 1.0 was released on

Select one:
a. January 1996
b. February 1997
c. February 1996
d. January 1997

Question 11
Complete
Mark 0.00 out of 1.00

Flag question

Question text

It is a Java platform component that executes programs.

Select one:
a. J2SE
b. JVM
c. JRE
d. JDK

Question 12
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The J2SE 1.4 was released on

Select one:
a. February 2002
b. September 2004
c. September 2002
d. February 2000

Question 13
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It determines what resources a class can access such as reading and writing to the local disk.

Select one:
a. JVM
b. Bytecode Verifier
c. Classloader
d. Security Manager

Question 14
Complete
Mark 1.00 out of 1.00
Flag question

Question text

Feature of java that means, organizing our software as a combination of different types of
objects that incorporates both data and behavior.

Select one:
a. Simple
b. Platform Independent
c. Object-Oriented
d. Portable

Question 15
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The JDK 1.1 was released on

Select one:
a. January 1997
b. February 1996
c. February 1997
d. January 1996

Question 16
Complete
Mark 1.00 out of 1.00
Flag question

Question text

It checks the code fragments for illegal code that can violate access right to objects.

Select one:
a. JVM
b. Bytecode Verifier
c. Security Manager
d. Classloader

Question 17
Complete
Mark 0.00 out of 1.00

Flag question

Question text

It facilitates you to carry the Java bytecode to any platform.

Select one:
a. Portable
b. Simple
c. Platform Independent
d. Object-Oriented

Question 18
Complete
Mark 1.00 out of 1.00
Flag question

Question text

Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java
Virtual Machine dynamically.

Select one:
a. JVM
b. Security Manager
c. Classloader
d. Bytecode Verifier

Question 19
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is the on-disk part of Java that creates the JVM.

Select one:
a. JVM
b. JDK
c. J2SE
d. JRE

Question 20
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The J2SE 5.0 was released on

Select one:
a. September 2002
b. February 2000
c. September 2004
d. February 2002

Question 1
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is the on-disk part of Java that creates the JVM.

Select one:
a. JDK
b. J2SE
c. JVM
d. JRE

Question 2
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The J2SE 5.0 was released on

Select one:
a. February 2000
b. September 2002
c. February 2002
d. September 2004

Question 3
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It has the static keyword as a prefix in its declaration. Its definition occurs only inside a class
and outside any function.

Select one:
a. Instance variables
b. Local variables
c. Class variables
d. Variable Types

Question 4
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The name Java originates from a sort of ____________

Select one:
a. Mocha Bean
b. Cappuccino Bean
c. Latte Bean
d. Expresso Bean

Question 5
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 1.2 was released on

Select one:
a. December 1998
b. May 1998
c. December 2000
d. May 2000

Question 6
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The JDK 1.0 was released on

Select one:
a. January 1997
b. January 1996
c. February 1997
d. February 1996

Question 7
Complete
Mark 1.00 out of 1.00

Flag question

Question text

This is the most restrictive and most commonly used access modifier. If you use the this
modifier with an attribute or method, it can only be accessed within the same class.

Select one:
a. Private
b. No Modifier
c. Protected
d. Public

Question 8
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The same method in child class which is already present in the parent class.

Select one:
a. Method Overloading
b. Method Overriding
c. Object Overloading
d. Object Overriding

Question 9
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Allows developers to create Java programs that can be executed and run by the JVM and
JRE.

Select one:
a. JVM
b. JRE
c. J2SE
d. JDK

Question 10
Complete
Mark 1.00 out of 1.00
Flag question

Question text

Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java
Virtual Machine dynamically.

Select one:
a. Bytecode Verifier
b. Security Manager
c. JVM
d. Classloader

Question 11
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Select one:
a. Private
b. Protected
c. No Modifier
d. Public

Question 12
Complete
Mark 1.00 out of 1.00

Flag question
Question text

Attributes and methods with the access modifier protected can be accessed within your
class, by all classes within the same package, and by all subclasses within the same or other
packages.

Select one:
a. Public
b. Protected
c. No Modifier
d. Private

Question 13
Complete
Mark 1.00 out of 1.00

Flag question

Question text

This is the least restrictive access modifier. Methods and attributes that use the public
modifier can be accessed within your current class and by all other classes.

Select one:
a. Public
b. No Modifier
c. Protected
d. Private

Question 14
Complete
Mark 1.00 out of 1.00

Flag question

Question text
Feature of java that means, organizing our software as a combination of different types of
objects that incorporates both data and behavior.

Select one:
a. Simple
b. Portable
c. Object-Oriented
d. Platform Independent

Question 15
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Feature of java that is very easy to learn, and its syntax is simple, clean and easy to
understand.

Select one:
a. Platform Independent
b. Simple
c. Portable
d. Object-Oriented

Question 16
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The superclass constructor can be called explicitly using the ____________________ ?


Select one:
a. Constructor
b. Inheritance
c. Super Keyword
d. Super Class

Question 17
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Sub class is invoked when we create the object of subclass, it by default invokes the default
constructor of super class.

Select one:
a. Super Class
b. Constructor
c. Super Keyword
d. Inheritance

Question 18
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The super keyword refers to the ______________, immediately above of the calling class in the
hierarchy.

Select one:
a. Super Keyword
b. Constructor
c. Super Class
d. Inheritance

Question 19
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Java is a write once, runObject Oriented Programming anywhere language.

Select one:
a. Simple
b. Portable
c. Platform Independent
d. Object-Oriented

Question 20
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is a blueprint for objects to follow a specific schema defined in the class.

Select one:
a. Object
b. Method
c. Behavior
d. Class
Question 21
Complete
Mark 1.00 out of 1.00

Flag question

Question text

A popular general-purpose programming language and computing platform. It is fast,


reliable, and secure.

Select one:
a. Java
b. Php
c. C#
d. C++

Question 22
Complete
Mark 0.00 out of 1.00

Flag question

Question text

It facilitates you to carry the Java bytecode to any platform.

Select one:
a. Portable
b. Platform Independent
c. Simple
d. Object-Oriented

Question 23
Complete
Mark 1.00 out of 1.00
Flag question

Question text

It determines what resources a class can access such as reading and writing to the local disk.

Select one:
a. JVM
b. Bytecode Verifier
c. Security Manager
d. Classloader

Question 24
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Use to define the visibility of classes, methods, and attributes.

Select one:
a. Private
b. Access Modifier
c. Public
d. Protected

Question 25
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The JDK 1.1 was released on

Select one:
a. January 1996
b. January 1997
c. February 1997
d. February 1996

Question 26
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 1.3 was released on

Select one:
a. December 1998
b. May 2000
c. May 1998
d. December 2000

Question 27
Complete
Mark 0.00 out of 1.00
Flag question

Question text

The class that extends the features of another class is known as _____________?

Select one:
a. Child Class
b. B and C
c. Sub Class
d. Parent Class

Question 28
Complete
Mark 1.00 out of 1.00

Flag question

Question text

These are variables which have declarations inside methods, constructors or blocks.

Select one:
a. Variable Types
b. Instance variables
c. Class variables
d. Local variables

Question 29
Complete
Mark 1.00 out of 1.00
Flag question

Question text

It checks the code fragments for illegal code that can violate access right to objects.

Select one:
a. Classloader
b. JVM
c. Security Manager
d. Bytecode Verifier

Question 30
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The J2SE 1.4 was released on

Select one:
a. February 2002
b. September 2002
c. February 2000
d. September 2004

Question 31
Complete
Mark 1.00 out of 1.00
Flag question

Question text

One of the OOPs feature that allows us to perform a single action in different ways.

Select one:
a. Abstraction
b. Polymorphism
c. Inheritance
d. Encapsulation

Question 32
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The process by which one class acquires the properties (data members) and
functionalities(methods) of another class.

Select one:
a. Abstraction
b. Encapsulation
c. Inheritance
d. Polymorphism

Question 33
Complete
Mark 0.00 out of 1.00
Flag question

Question text

The following are the advantages of Inheritance except.

Select one:
a. One superclass can be used for the number of subclasses in a hierarchy
b. Avoids duplicity and data redundancy
c. Reusability of code
d. Allows you to define one interface

Question 34
Complete
Mark 1.00 out of 1.00

Flag question

Question text

The capability of a method to do different things based on the object that it is acting upon.
In other words, it allows you define one interface and have multiple implementations.

Select one:
a. Abstraction
b. Encapsulation
c. Polymorphism
d. Inheritance

Question 35
Complete
Mark 0.00 out of 1.00
Flag question

Question text

It is a Java platform component that executes programs.

Select one:
a. JDK
b. JVM
c. JRE
d. J2SE

Question 36
Complete
Mark 1.00 out of 1.00

Flag question

Question text

These variables are inside a class however outside any method. They come into existence
when the class instantiates.

Select one:
a. Variable Types
b. Class variables
c. Instance variables
d. Local variables

Question 37
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The JAVA SE 12 was released on

Select one:
a. March 2019
b. September 2019
c. March 2018
d. September 2018

Question 38
Complete
Mark 1.00 out of 1.00

Flag question

Question text

It is the most fundamental entity in Java or any other Object Oriented Language.

Select one:
a. Object
b. Behavior
c. Class
d. Method

Question 39
Complete
Mark 1.00 out of 1.00
Flag question

Question text

The class whose properties and functionalities are use (inherited) by another class is known
as _______________?

Select one:
a. Child Class
b. Sub Class
c. B and C
d. Parent Class

Question 40
Complete
Mark 1.00 out of 1.00

Flag question

Question text

Java is an Object-Oriented programming language developed by ______________ in the early


1990s

Select one:
a. Guido Van Rossum
b. James Gosling
c. Bjarne Stroustrup
d. Dennis Ritchie

You might also like