Skip to content
Skip to content
PakMCQ
Practice
Mock Tests
Browse
Leaderboard
Search questions
Sign in
Home
›
Prep
›
Browse
›
Software Engineering
›
Java Concepts and Its Programming
Java Concepts and Its Programming
80 questions
Practise this subject
Questions
Runnable is_______________?
Show answer
Answer:
Interface
The object is created with “new” keyword ?
Show answer
Answer:
At run-time
Which method of java is invoked by JVM to reclaim the inaccessible memory location ?
Show answer
Answer:
finalize() method
After the compilation of the java source code, which file is created by the JVM ?
Show answer
Answer:
.class
Which collection class associates values witch keys, and orders the keys according to their natural order ?
Show answer
Answer:
java.util.TreeMap
Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class?
Show answer
Answer:
static
Which driver is efficient and always preferable for using JDBC applications_____________?
Show answer
Answer:
Type-4 driver
Main method parameter has which type of data type___________________?
Show answer
Answer:
string
Which command disassembles a class file_______________?
Show answer
Answer:
javap
What do you mean by javap?
Show answer
Answer:
java Disassemble
Which is the predefined package ?
Show answer
Answer:
Lang package
Which of the following automatic type conversion will be possible ?
Show answer
Answer:
int to long
Object which can store group of other objects is called___________________?
Show answer
Answer:
Collection object
In which we clone the object and their constituent parts_______________?
Show answer
Answer:
Deep cloning
What is jdb_________________?
Show answer
Answer:
java debugger
Java intermediate code is known as_________________?
Show answer
Answer:
Byte code
Inheritance means ?
Show answer
Answer:
Sub class extends super class
Which statement is static and synchronized in JDBC API ?
Show answer
Answer:
getConnection()
Which class cannot be subclassed (or extended) in java ?
Show answer
Answer:
Final class
Java is a _______________language?
Show answer
Answer:
strogly typed
‹ Previous
1
2
3
4
Home
Practice
Tests
Browse
Sign in
You are offline. Your answers are kept on this device and will sync when you are back online.
Install PakMCQ App
Practice faster with offline access!
Install
×
×
Install PakMCQ
Add to your iPhone / iPad Home Screen
1
Tap the
Share
button
at the bottom of Safari
2
Scroll down and select
Add to Home Screen
3
Tap
Add
in the top-right corner