Toggle navigation
Login / Register
Ask Questions
Study
Current Affairs
Previous Papers
Kerala PSC
IBPS
UPSC
RBI
TNPSC
MPSC
SSC
CBSE
United States
Model Tests
News
More
Answers
Coaching Centres
Careers
Downloads
Colleges
Kuwait News & Classifieds
Classic Jhumka Earrings Silver
INR 113.00
Free Shipping
Buy Now
Black Jhumka Earrings & Studs
INR 94.00
Free Shipping
Buy Now
Classic Jhumka Earrings Silver
INR 207.00
Free Shipping
Buy Now
Beautiful stud earing
INR 93.00
Free Shipping
Buy Now
Different Size Hoop and Stud Earrings Set
INR 243.00
Free Shipping
Buy Now
Golden Hoop Earing
INR 70.00
Free Shipping
Buy Now
×
Create account with Openguide
Sign Up
By clicking Sign Up, you agree that you have read and accepted the
Open Guide Online User Agreement.
Already have an account?
Log in
×
Login to OpenGuide
Login
Forgot password?
Reset it
New user?
Register
×
Reset your password
Reset Password
Registered user?
Log in
New user?
Register
Home
Questions & Answer
Technology Questions & Answers
Java programming Questions & Answers
Java programming Questions & Answers
(Compiled from UPSC, SSC ,PSC ,IBPS previous question papers)
Smallest individual unit in java program is known as
A
string
B
literal
C
token
D
operator
How many keywords are available in java
A
35
B
55
C
48
D
130
Main method parameter has which type of data type
A
int
B
char
C
string
D
double
javah stands for
A
java compiler
B
java interpreter
C
java dissasamebler
D
java header file
Hot java is
A
System software
B
Web browser
C
IDE
D
Java environment
Which keyword represents object of the present class
A
interface
B
package
C
this
D
static
Which keyword is used while using interface
A
extend
B
implements
C
throw
D
throws
Executable applet is
A
.applet file
B
.java html
C
.java file
D
.class file
Which driver is efficient and always preferable for using JDBC applications
A
Type-4 driver
B
Type-3 driver
C
Type-2 driver
D
Type-1 driver
In which we clone the object and their constituent parts
A
Shallow cloning
B
Deep cloning
C
Both of above
D
None of above
The inner class can access private members of the outer class
A
False
B
True
Which command disassembles a class file
A
javaamd
B
javacmd
C
java
D
javap
There is no default transaction attribute for an EJB
A
False
B
True
Which method of the Applet class displays the result of applet code on screen
A
run() method
B
paint() method
C
drawString() method
D
main() method
Applet always executed on
A
Client side
B
Server Side
If nested try is possible
A
Yes
B
No
Interfaces helps in which type of inheritance
A
Multiple inheritance
B
Multilevel inheritance
C
Hierarchical inheritance
D
None of above
____ allows java code to run in the JVM to call and be called by native applications
A
JFI
B
JNI
C
NJI
D
FJI
Which method of java is invoked by JVM to reclaim the inaccessible memory location
A
reclaim() method
B
final() method
C
finalize() method
D
both b and c
How many transaction isolation levels are defined in java.sql.Connection interface
A
4
B
3
C
5
D
2
Which driver is called as thin-driver in JDBC
A
Type-1 driver
B
Type-2 driver
C
Type-3 driver
D
Type-4 driver
Java is known as _______stage language
A
One
B
Two
C
Three
D
Four
what is jdb
A
java compiler
B
java Interpreter
C
java Disassemble
D
java debugger
What do you mean by javap
A
java compiler
B
java Interpreter
C
java Disassemble
D
java debugger
Which of the following command is used to compile the Java program
A
java
B
javac
C
javap
D
none of these
What is meaning of jar
A
java archived
B
java array
C
java architecture
D
none of these
Which command is used for interpretation of java program
A
Java
B
javac
C
javap
D
none of above
Java intermediate code is known as
A
First code
B
Mid code
C
Byte code
D
None of above
Which is the predefined package
A
Lang package
B
io package
C
util package
D
All of above
Process of creating exact copy of the existing object is called
A
cloning
B
overloading
C
overriding
D
coping
1
2
3
Categories
Android
C programming
C++ programming
Cloud Computing
Computer
Computer System Architecure
Data Base
Data Structure
Internet & Social Media
Java programming
Manual Testing
MS Office
MySQL
Networking
Operating System
PHP
Programming
Software Engineering
Software Testing
Help & Support
About Us
Contact Us
Terms of Service