If you like answering specifically designed questions about GAJ quiz for Aptech try out this quiz. It is quite simple and straightforward therefore it will be easy to answer.
Data Type
Character
@
@@
Rate this question:
Single - Value Annotations.
Maker Annotations.
Full Annotations.
Rate this question:
Full Annotations.
Maker Annotations.
Single - Value Annotations.
Rate this question:
@Deprecated
@Documented.
@suppressWarnings
@Override
@Interface
Rate this question:
Parameters in annotation can be initialized with arrays of values
Parameters in annotation can have null values
Parameters in annotation are declared as a fields in a class.
Parameters in annotation types may defne default values for some members.
Parameters in annotation can be initialized to arrays of String values
Rate this question:
Reflection API induces code into a particular set of classes during execution.
Reflection API retrieves the object and its interface for examination.
Reflection API cannot manipulate classes.
Reflection API is used to get and set values in an array.
Reflection API cannot be used to retrieve th constructors, methods and fields in a class.
Rate this question:
Class name
Constructors
Class Field
Package Information
Method Information.
Rate this question:
NewInstance() on class
NewInstance() on Constructor
GetField() on class
Set()
Invoke()
Rate this question:
Invoke()
GetField() on class
Set()
NewInstance() on Constructor
NewInstance() on class
Rate this question:
NewInstance() on Constructor
Invoke()
GetField() on class
Set()
NewInstance() on class
Rate this question:
NewInstance() on Constructor
GetField() on class
Invoke()
Set()
NewInstance() on class
Rate this question:
GetField() on class
NewInstance() on Constructor
Invoke()
Set()
NewInstance() on class
Rate this question:
Array can be identified at runtime.
Arrays can not be created at runtime.
Values of arrays can be retrieved during runtime
Values to elements can be assigned to arrays at runtime.
Array objects cannot be instantiated.
Pattern Class
Matcher Class
Rate this question:
True
False
Rate this question:
Boolean find()
Boolean lookingAt()
Rate this question:
Int start()
Int end()
Rate this question:
Int end()
Int start()
Rate this question:
A regular exp consist of symbols and syntacic elements
Pattern and Matcher class are the classes used to perform text processing
The java.util.regex package consist of two classes
Find and replace are some of the operations that can be performed by regex
The regex package uses boolean matching
Rate this question:
String Literal
boolean
Character-base
Rate this question:
#
{ }
[ ]
@
*
Rate this question:
?
& &&
. $
^ + -
! ,
Rate this question:
Simple Classes
Negation
Ranges
Rate this question:
A single character class comprising of two or more separate character classes
A single character class which matches to characters that are common to all its nested class
Rate this question:
Subtraction
Union
Greedy
Rate this question:
Matches everything from a->z, except a,b,c.
Matches 'a','b' and 'c' that is common.
Rate this question:
\d
\D
\A
Rate this question:
\S
\s
\W
Rate this question:
\w
\W
Rate this question:
Simple class are formed by placing characters side by side
Ranges define a character class that includes a single value
Negation is a Technique where a metacharacter "^" is inserted at the beginning of character
Subtraction is not used to negate one or more nested character classes
To use an escape construct within a string literal, it must be preceded by a blackslash for the string to compile
Rate this question:
InterruptedException
IllegalThreadState
Rate this question:
IllegalThreadState
InterruptedException
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Multithreading facilitates many parts of the same program to run simultaneously.
Multithreading requires less overhead than multitasking
Multithreading decreases performance of single processor systems, as it reduces the CPU idle time
Multitasking is the ability to execute more than one task or program at the same time by Single Operation System
Multitasking requires much lower overhead than Multithreading
Rate this question:
Sleep()
IsAlive()
Join()
Wait()
Rate this question:
True
False
Rate this question:
Sleep()
Join()
Wait()
IsAlive()
Rate this question:
True
False
Rate this question:
The isAlive() method sends a query to inquire, whether the Thread is running or not
The join() method accomplishes the same task as the sleep() method
The isAlive() method forces the current running thread to wait until the thread it is joining with no longer alive
The isAlive() method returna a Boolean value
The join() method doesnot throw an exception when another thread interrupts it
Rate this question:
The race conditions can be avoided by using synchronized blocks
The race conditions occur due to 2 or more threads sharing same data or reading and writing the share data simultaneously
A Synchronized block is nothing but a statement or block of code qualified by synchronized keyword
The Lock in synchronized block is based on the method and not on the object
A lock allows multiple threads to access the code
Rate this question:
Wait()
Notify()
Rate this question:
True
False
Rate this question:
Java.lang package contains the System class from which you obtain input and output
Java.lang package has class that contains complex scientific functions
Java.lang package contains class pertaining to strings and buffers
Java.lang package contains the Class class,is the root of the class hierarchy
Java.lang package is imported by default in all programs
Rate this question:
True
False
Rate this question:
Integer
Float
Double
Character
String
Rate this question:
Wrapper classes are used to manage primitive values as class
All primitive data types do not have wrapper class
Wrapper classes can be used without an import statement
Wrapper classes compare values in classes
Wrapper classes compare values in Objects and be defined in java.lang package
Rate this question:
Double is a wrapper class for the floating point value of type float
Character is a wrapper class for the primitive char data type
A Constructor for the Byte Wrapper class can be written as Byte(bit value)
A Constructor for the Long wrapper class can be written as Long(lg value)
Integer is a wrapper class for the int data type.
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.