This quiz focuses on Object Oriented Programming using Java, assessing knowledge on GUI packages, access specifiers, interface implementation, and debugging. It's designed for BCA students to enhance their Java programming skills and understanding of key OOP concepts.
import
Import
implements
Implements
Rate this question:
catch
throw
throws
all of the mentioned
Rate this question:
Public
Protected
private
All of the mentioned
Rate this question:
java.io.date
java.sql.date
java.util.date
java.util.dateTime
Rate this question:
Array
Array list
Vector
Set
Rate this question:
Try
Finally
Exit
Catch
Rate this question:
Package defines a namespace in which classes are stored
A package can contain other package within it
Java uses file system directories to store packages
A package can be renamed without renaming the directory in which the classes are stored
Rate this question:
Generic methods are the methods defined in a generic class
Generic methods are the methods that extend generic class methods
Generic methods are methods that introduce their own type parameters
Generic methods are methods that take void parameters
Rate this question:
destroy
destroy-method
destruction
destruction-method
Rate this question:
The class name should start with lowercase
The class should have thousands of lines of code
The class should only contain those attribute and functionality which it should; hence keeping it short
The class attributes and methods should be public
Rate this question:
import pkg.
Import pkg.
import pkg.*
Import pkg.*
Rate this question:
variable names should be short
variable names should be such that they avoid ambiguity
test case method names should be created as english sentences without spaces
class constants should be used when we want to share data between class methods
Rate this question:
java.applet
java.awt
java.awt.image
java.io
Rate this question:
Overloaded Methods
Generic methods
Class methods
Overriding methods
Rate this question:
Stream API
Serialization
Spliterator
Lambda Expression
Rate this question:
init
init-method
initialization
initialization-method
Rate this question:
Release database connection when querying is complete
Use Finally block as much as possible
Release instances stored in static tables
Not using Finally block often
Rate this question:
It reads all the files at the path specified as a String
It reads all the lines from a file as a Stream
It reads the filenames at the path specified
It counts the number of lines for files at the path specified
Integer instance
Generic class instance
Generic type instance
Collection instances
Rate this question:
virtual debugging
remote debugging
machine debugging
compiling debugging
Rate this question:
for(int i=0; i
for(int i=99; i>=0; i--)
for(int i=100; i
for(int i=99; i>0; i++)
Rate this question:
changed value pop on the screen
variable changes are printed in logs
dump of variable changes are printed on the screen on end of execution
variable tab shows variables highlighted when values change
Rate this question:
Null
Empty collection
Singleton collection
Empty String
Rate this question:
System.currentTimeMillis()
System.nanoTime()
System.getCurrentTime()
System.getProcessingTime()
Rate this question:
Quiz Review Timeline (Updated): Aug 24, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Oops Using JAVA-Q2 Group 1
This quiz titled 'Oops Using JAVA-Q2 Group 1' assesses key concepts in Java programming, focusing on loops, bytecode, and debugging tools. It is designed to enhance understanding...
Questions:
20 |
Attempts:
390 |
Last updated:
Mar 21, 2023
|
Object Oriented Programming (CS504D)
This quiz titled 'Object Oriented Programming (CS504D)' assesses key concepts in Java OOP, including syntax, access modifiers, and design principles. It is designed to test...
Questions:
20 |
Attempts:
262 |
Last updated:
Mar 17, 2023
|
Online Test On OOP Using JAVA
No Negative marking Attempt questions as many you can
Questions:
71 |
Attempts:
501 |
Last updated:
Mar 22, 2023
|
Java Review - Arrays, Methods, Classes And Inheritance
This Java Review quiz focuses on arrays, methods, classes, and inheritance. It tests understanding of method access modifiers, method overloading, and the use of keywords like...
Questions:
46 |
Attempts:
188 |
Last updated:
Mar 20, 2023
|
Java OOPs Quiz
Object-oriented programming (OOP) is a fundamental paradigm in Java, enabling the creation of modular, reusable, and maintainable code. This Java OOP quiz delves into the core...
Questions:
10 |
Attempts:
51763 |
Last updated:
Oct 04, 2024
|
Class And Object In JAVA Quiz
Java is a class-based, object-based programming language that is designed to create desktop and mobile apps. Along with that, it is also used for big data processing and system...
Questions:
10 |
Attempts:
2513 |
Last updated:
Nov 30, 2022
|
Wait!
Here's an interesting quiz for you.