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)
JAR file contains the compressed version of
A
.java file
B
.class file
C
.jsp file
D
None of above
In java, gc() method is available in which package
A
java.lang package
B
java.util package
C
java.awt package
D
java.io package
All methods of interface are public and abstract
A
True
B
False
Execution of the program is always begins with
A
Main method
B
class contain main method
C
parent class
D
default package
Super is the predefined
A
Keyword
B
Method
C
Keyword and Method
D
None of above
String is the predefined
A
Method
B
Class
C
Variable
D
Object
Which type of inheritance is not supported by java
A
Single
B
Multiple
C
Mulilevel
D
Hirarchical
Inheritance means
A
Sub class extends super class
B
Sub class extends Base class
C
Sub class create object of super class
D
All of the above
Methods that have same name, but different Parameter list and different definition known as
A
Overriding
B
Constructor
C
Overloading
D
none of these
If method have same name as class name and method dont have any return type then it is known as
A
Destructors
B
Object
C
Variable
D
Constructor
x=x+1 is equivalent to
A
++x
B
x++
C
x=x-1
D
None of these
Constructor has return type
A
True
B
False
pow () is associated with which class
A
Math class
B
Input stream class
C
Object class
D
None of above
After the compilation of the java source code, which file is created by the JVM
A
.class
B
.java
C
.cdr
D
.doc
JIT meaning
A
java in time
B
just in time
C
join in time
D
none of above
Minimum threads in a program are
A
1
B
2
C
5
D
Many
Thread class is available in
A
java.io package
B
java.lang package
C
java.awt package
D
java.util package
All collection classes are available in
A
java.io package
B
java.lang package
C
java.awt package
D
java.util package
Object which can store group of other objects is called
A
Collection object
B
Java object
C
Package
D
Wrapper
Which method executes only once
A
start() method
B
init() method
C
stop() method
D
destroy() method
Package of drawstring() method is
A
java.applet
B
java.io
C
javax.swing
D
java.awt
Converting a primitive type data into its corresponding wrapper class object instance is called
A
boxing
B
wrapping
C
instantiation
D
autoboxing
The Externizable interface extends the serializable interface
A
True
B
False
Which of the following statements about arrays is syntactically wrong
A
arrayName[] p = new arrayName[5];
B
arrayName p[5];
C
arrayName[] p [];
D
arrayName p[][] = new arrayName[2][];
The class java.sql.Timestamp is associated with
A
java.util.Time
B
java.sql.Time
C
java.util.Date
D
None of above
All raw data types should be read and uploaded to the database as an array of
A
int
B
char
C
bollean
D
byte
The JDBC-ODBC bridge is
A
Multithreaded
B
Singlethreaded
C
Both of above
D
None of above
Which statement is static and synchronized in JDBC API
A
executeQuery()
B
executeUpdate()
C
getConnection()
D
prepareCall()
Program which executes applet is known as
A
applet engine
B
virtual machine
C
JVM
D
None of above
Java beans have no types
A
True
B
False
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