Your browser does not support JavaScript!

Object Oriented Programming

Showing 76-150 of 155 answers

It is used for initializing the static variables.
  • Static Block Correct
  • Static Keyword
  • Static variable
  • Static members
Java and Javascript language is the same and related to one another.
  • True
  • False Correct
Java is a write once, runObject Oriented Programming anywhere language.
  • Platform Independent
  • Simple
  • Portable
  • Object-Oriented Correct
Java is an Object-Oriented programming language developed by ______________ in the early 1990s
  • James Gosling Correct
  • Dennis Ritchie
  • Guido Van Rossum
  • Bjarne Stroustrup
Java is to application programming language and _______________ is to designed for web development.
  • Javascript Correct
  • Python
  • Visual Basic
  • Bytecode
Java Reflection API gives you tools that let you walk up the inheritance tree.
  • True Correct
  • False
Java7 has new file system API with classes Path, Paths, Files, File System and more.
  • True Correct
  • False
JavaScript is known to be an interpreted scripting language.
  • True Correct
  • False
JVM stands for:
  • Java Volatile Memory
  • Journal of Vacation Marketing
  • Joint Venture Manager
  • Java Virtual Machine Correct
LinkedList is a class that is high performance and very easy to use but it has a drawback that you can add new items to the end of an LinkedList but you can't arbitrarily place new items with it.
  • True
  • False Correct
Local final variable must be initializing during declaration.
  • True Correct
  • False
Making a member static can access it without object.
  • False
  • True Correct
Nested interface are also known as?
  • Abstract interface
  • Outer interface
  • Inner interface Correct
  • Map interface
One of the new features of Java 7 is the String values in the Switch Statement.
  • True Correct
  • False
One of the OOPs feature that allows us to perform a single action in different ways.
  • Inheritance
  • Polymorphism Correct
  • Abstraction
  • Encapsulation
Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java Virtual Machine dynamically.
  • Bytecode Verifier
  • JVM
  • Classloader Correct
  • Security Manager
Phyton 3 programming language was released in 2009.
  • True
  • False Correct
Programming is the process of giving directions to a computer and this Program has instructions called statements.
  • True Correct
  • False
Programming language source code can be bolded or underlined or italicized or justified.
  • True
  • False Correct
Programming Languages are just bridging the gap between human beings and computer hardware.
  • True Correct
  • False
Red Head Duck __ __ DUCK
  • Has-A Relationship
  • Is-A Relationship Correct
  • None of the Choices
  • Is-Is Relationship
Static Initializer is a common thing in java programming wherein you initialize the values of fields in constructor methods.
  • True Correct
  • False
Static variables are also known as ______________________?
  • Static Keyword
  • Class variables Correct
  • Static block
  • Class methods
Sub class is invoked when we create the object of subclass, it by default invokes the default constructor of super class.
  • Super Class
  • Constructor Correct
  • Inheritance
  • Super Keyword
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.
  • Inheritance
  • Abstraction
  • Polymorphism Correct
  • Encapsulation
The class that extends the features of another class is known as _____________?
  • Child Class
  • Sub Class
  • Parent Class
  • B and C Correct
The class that implements interface must implement all the methods of that interface.
  • False
  • True Correct
The class whose properties and functionalities are use (inherited) by another class is known as _______________?
  • Parent Class Correct
  • Child Class
  • B and C
  • Sub Class
The following are the advantages of Inheritance except.
  • One superclass can be used for the number of subclasses in a hierarchy
  • Reusability of code
  • Allows you to define one interface Correct
  • Avoids duplicity and data redundancy
The J2SE 1.2 was released on
  • December 2000
  • May 1998
  • December 1998 Correct
  • May 2000
The J2SE 1.3 was released on
  • December 1998
  • May 2000 Correct
  • December 2000
  • May 1998
The J2SE 1.4 was released on
  • September 2004
  • February 2000
  • September 2002
  • February 2002 Correct
The J2SE 5.0 was released on
  • September 2004 Correct
  • September 2002
  • February 2000
  • February 2002
The Java reflection API contains classes and methods that allow you to dynamically instantiate and interrogate classes.
  • True Correct
  • False
The JAVA SE 12 was released on
  • March 2018
  • March 2019 Correct
  • September 2019
  • September 2018
The JDK 1.0 was released on
  • January 1996 Correct
  • February 1997
  • February 1996
  • January 1997
The JDK 1.1 was released on
  • January 1997
  • February 1997 Correct
  • February 1996
  • January 1996
The name Java originates from a sort of ____________
  • Expresso Bean Correct
  • Latte Bean
  • Mocha Bean
  • Cappuccino Bean
The process by which one class acquires the properties (data members) and functionalities(methods) of another class.
  • Encapsulation
  • Inheritance Correct
  • Polymorphism
  • Abstraction
The same method in child class which is already present in the parent class.
  • Method Overriding Correct
  • Object Overriding
  • Object Overloading
  • Method Overloading
The super keyword refers to the ______________, immediately above of the calling class in the hierarchy.
  • Inheritance
  • Super Keyword
  • Constructor
  • Super Class Correct
The superclass constructor can be called explicitly using the ____________________ ?
  • Inheritance
  • Super Keyword Correct
  • Super Class
  • Constructor
The variables declared in an interface are public, static & final by default.
  • False
  • True Correct
These are variables which have declarations inside methods, constructors or blocks.
  • Class variables
  • Variable Types
  • Local variables Correct
  • Instance variables
These variables are inside a class however outside any method. They come into existence when the class instantiates.
  • Local variables
  • Instance variables Correct
  • Class variables
  • Variable Types
This act both as an interface that our own iterator classes can implement, as well as the type of the Java collection classes built in iterators.
  • JavaUtilScanner
  • javaxejbSessionBean
  • javaxejbEntityBean
  • JavaUtilIterator Correct
This are blueprints of an Object Oriented Programming wherein it has a detailed description or definition.
  • None of the Choices
  • Class Correct
  • Behavior
  • Attributes
This are information that describes a state of a thing or an object.
  • Attributes Correct
  • Class
  • Behavior
  • None of the Choices
This are the set of steps needed to solve a problem.
  • Variables
  • None of the Choices
  • Algorithm Correct
  • Syntax
This are the things that an objects can do.
  • Attributes
  • Behavior Correct
  • Class
  • None of the Choices
This are use to store and work with multiple values of the same data type using a single variable name.
  • Boolean
  • Float
  • Integer
  • Arrays Correct
This is a well-tested proven approach to solve if an object will be changed by a lot of other objects but you need it to be able to undo the last change.
  • Memento Design Pattern Correct
  • Observe Design Pattern
  • None of the Choices
  • Singleton Design Pattern
This is a well-tested proven approach to solve if one of your objects changes and it needs to let several other objects know.
  • None of the Choices
  • Memento Design Pattern
  • Observe Design Pattern Correct
  • Singleton Design Pattern
This is the idea of taking attributes and behavior of an object and bundling them together in the same unit or same class and at the same time restrict access to its content.
  • None of the choices
  • Data Hiding Correct
  • Polymorphism
  • Abstraction
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.
  • Protected
  • No Modifier
  • Private
  • Public Correct
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.
  • Public
  • Protected
  • Private Correct
  • No Modifier
This term refers to automatically do the behavior even if what we're working with could take one of many different form
  • Polymorphism Correct
This term refers to automatically do the correct behavior even if what we're working with could take one of many different form.
  • None of the choices
  • Encapsulation
  • Abstraction
  • Polymorphism Correct
This term refers to the focus on the essential qualities of something rather one specific example and it discards the irrelevant or the unimportant.
  • Polymorphism
  • Abstraction Correct
  • Inheritance
  • Encapsulation
This terms refers to the ability to surround something or keep things together and protect its content.
  • Encapsulation Correct
  • Polymorphism
  • Abstraction
  • Inheritance
To what programming Language did Java derives it syntax?
  • Python
  • C++ Correct
  • None of the Choices
  • Ruby
TreeSet is a collection class that lets you store references to objects and ensures that each reference is only stored once.
  • True
  • False Correct
UML stands for:
  • None of the Choices
  • User Mode Linux
  • Unified Modelling Language Correct
  • Universal Markup Language
Use to define the visibility of classes, methods, and attributes.
  • Protected
  • Private
  • Public
  • Access Modifier Correct
Variables that is constants. This variable cannot be change once it is initialized.
  • Blank final variable
  • Global variable
  • Local variable
  • Final variable Correct
We can change the value of a final variable.
  • True
  • False Correct
We can instantiate an interface in java.
  • False Correct
  • True
What data type will you be using for a True or False examination?
  • Boolean Correct
  • None of the choices
  • Char
  • Float
What data type will you be using for the measurement of ingredients for a spaghetti?
  • float Correct
  • Char
  • None of the Choices
  • Boolean
What is the Scanner class for Java?
  • None of the Choices
  • Import JavaScannerUtil
  • Import JavaUtilScanner Correct
  • Import JavaImportScan
What type of requirement is the feature/capabilities of a system?
  • None of the Choices
  • General Requirement
  • Functional Requirements Correct
  • Non-Functional Requirement
When was Java first developed by Sun Microsystems?
  • 1998
  • 1990
  • 2000
  • 1995 Correct
Which of the following does not belong to the 4 Software Designer who invented the Design Pattern?
  • Richard Helm
  • Johnson Vlissides
  • Charles Babbage Correct
  • Erich Gamma
Which of the following is not a key terms in Object Oriented?
  • Encapsulation
  • Inheritance
  • Concatenation Correct
  • Abstraction
Which of the following is not a type of Session Bean?
  • Stateful
  • Stateless
  • Concurrent Correct
  • Singleton
This course is taught by the mentor:
Professor Josephine Casin

Josephine Casin

Doctor in Information Technology.

All courses