Java and Javascript language is the same and related to one another.
True
FalseCorrect
Java is a write once, runObject Oriented Programming anywhere language.
Platform Independent
Simple
Portable
Object-OrientedCorrect
Java is an Object-Oriented programming language developed by ______________ in the early 1990s
James GoslingCorrect
Dennis Ritchie
Guido Van Rossum
Bjarne Stroustrup
Java is to application programming language and _______________ is to designed for web development.
JavascriptCorrect
Python
Visual Basic
Bytecode
Java Reflection API gives you tools that let you walk up the inheritance tree.
TrueCorrect
False
Java7 has new file system API with classes Path, Paths, Files, File System and more.
TrueCorrect
False
JavaScript is known to be an interpreted scripting language.
TrueCorrect
False
JVM stands for:
Java Volatile Memory
Journal of Vacation Marketing
Joint Venture Manager
Java Virtual MachineCorrect
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
FalseCorrect
Local final variable must be initializing during declaration.
TrueCorrect
False
Making a member static can access it without object.
False
TrueCorrect
Nested interface are also known as?
Abstract interface
Outer interface
Inner interfaceCorrect
Map interface
One of the new features of Java 7 is the String values in the Switch Statement.
TrueCorrect
False
One of the OOPs feature that allows us to perform a single action in different ways.
Inheritance
PolymorphismCorrect
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
ClassloaderCorrect
Security Manager
Phyton 3 programming language was released in 2009.
True
FalseCorrect
Programming is the process of giving directions to a computer and this Program has instructions called statements.
TrueCorrect
False
Programming language source code can be bolded or underlined or italicized or justified.
True
FalseCorrect
Programming Languages are just bridging the gap between human beings and computer hardware.
TrueCorrect
False
Red Head Duck __ __ DUCK
Has-A Relationship
Is-A RelationshipCorrect
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.
TrueCorrect
False
Static variables are also known as ______________________?
Static Keyword
Class variablesCorrect
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
ConstructorCorrect
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
PolymorphismCorrect
Encapsulation
The class that extends the features of another class is known as _____________?
Child Class
Sub Class
Parent Class
B and CCorrect
The class that implements interface must implement all the methods of that interface.
False
TrueCorrect
The class whose properties and functionalities are use (inherited) by another class is known as _______________?
Parent ClassCorrect
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 interfaceCorrect
Avoids duplicity and data redundancy
The J2SE 1.2 was released on
December 2000
May 1998
December 1998Correct
May 2000
The J2SE 1.3 was released on
December 1998
May 2000Correct
December 2000
May 1998
The J2SE 1.4 was released on
September 2004
February 2000
September 2002
February 2002Correct
The J2SE 5.0 was released on
September 2004Correct
September 2002
February 2000
February 2002
The Java reflection API contains classes and methods that allow you to dynamically instantiate and interrogate classes.
TrueCorrect
False
The JAVA SE 12 was released on
March 2018
March 2019Correct
September 2019
September 2018
The JDK 1.0 was released on
January 1996Correct
February 1997
February 1996
January 1997
The JDK 1.1 was released on
January 1997
February 1997Correct
February 1996
January 1996
The name Java originates from a sort of ____________
Expresso BeanCorrect
Latte Bean
Mocha Bean
Cappuccino Bean
The process by which one class acquires the properties (data members) and functionalities(methods) of another class.
Encapsulation
InheritanceCorrect
Polymorphism
Abstraction
The same method in child class which is already present in the parent class.
Method OverridingCorrect
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 ClassCorrect
The superclass constructor can be called explicitly using the ____________________ ?
Inheritance
Super KeywordCorrect
Super Class
Constructor
The variables declared in an interface are public, static & final by default.
False
TrueCorrect
These are variables which have declarations inside methods, constructors or blocks.
Class variables
Variable Types
Local variablesCorrect
Instance variables
These variables are inside a class however outside any method. They come into existence when the class instantiates.
Local variables
Instance variablesCorrect
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
JavaUtilIteratorCorrect
This are blueprints of an Object Oriented Programming wherein it has a detailed description or definition.
None of the Choices
ClassCorrect
Behavior
Attributes
This are information that describes a state of a thing or an object.
AttributesCorrect
Class
Behavior
None of the Choices
This are the set of steps needed to solve a problem.
Variables
None of the Choices
AlgorithmCorrect
Syntax
This are the things that an objects can do.
Attributes
BehaviorCorrect
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
ArraysCorrect
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 PatternCorrect
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 PatternCorrect
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 HidingCorrect
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
PublicCorrect
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
PrivateCorrect
No Modifier
This term refers to automatically do the behavior even if what we're working with could take one of many different form
PolymorphismCorrect
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
PolymorphismCorrect
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
AbstractionCorrect
Inheritance
Encapsulation
This terms refers to the ability to surround something or keep things together and protect its content.
EncapsulationCorrect
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
FalseCorrect
UML stands for:
None of the Choices
User Mode Linux
Unified Modelling LanguageCorrect
Universal Markup Language
Use to define the visibility of classes, methods, and attributes.
Protected
Private
Public
Access ModifierCorrect
Variables that is constants. This variable cannot be change once it is initialized.
Blank final variable
Global variable
Local variable
Final variableCorrect
We can change the value of a final variable.
True
FalseCorrect
We can instantiate an interface in java.
FalseCorrect
True
What data type will you be using for a True or False examination?
BooleanCorrect
None of the choices
Char
Float
What data type will you be using for the measurement of ingredients for a spaghetti?
floatCorrect
Char
None of the Choices
Boolean
What is the Scanner class for Java?
None of the Choices
Import JavaScannerUtil
Import JavaUtilScannerCorrect
Import JavaImportScan
What type of requirement is the feature/capabilities of a system?
None of the Choices
General Requirement
Functional RequirementsCorrect
Non-Functional Requirement
When was Java first developed by Sun Microsystems?
1998
1990
2000
1995Correct
Which of the following does not belong to the 4 Software Designer who invented the Design Pattern?
Richard Helm
Johnson Vlissides
Charles BabbageCorrect
Erich Gamma
Which of the following is not a key terms in Object Oriented?
Encapsulation
Inheritance
ConcatenationCorrect
Abstraction
Which of the following is not a type of Session Bean?