Java Mock Test - Online test for Java for freshers and experienced

Some Java programmers want to test their knowledge on the nitty gritties of Java while others just want to prepare for an upcoming interview. This online Java mock test is a good combination of questions for all level of Java programmers. The mock test set consists of 30 Java questions with some sample questions to help you begin with the test.

Online Practice Test > Java Mock Test

Click here to start Java mock practice test
Here are few sample Java mock test questions

DataInputStream is an example of

Output stream
I/O stream
Filtered stream
File stream

Functions of the dot(.) operator

It enables you to access instance variables of any objects within a class
It enables you to store values in instance variables of an object
It is used to call object methods
It is to create a new object
a,b and c


Which of the following are true?

The Serializable interface is used to identify objects that may be written to an output stream.
The Externalizable interface is implemented by classes that control the way in which their objects are serialized.
The Serializable interface extends the Externalizable interface.
a and b 

Click here to start Java mock practice test 

More Links

Can you explain CallableStatement interface in details?
Explain how to do batch updates using CallableStatement interface.
Explain the architecture of a Servet package.
Explain different Authentication Options available in Servets.
Can you explain JDBCRealm?
 



Write your comment - Share Knowledge and Experience

Discussion Board
Java Mock Test - Online test for Java for freshers and experienced

What is the difference between throw and throws?

The throws key word is used to explicitly throw an exception, while throw is utilized to handle checked exceptions
The throw key word is used to implicitly throw an exception, while throws is utilized to handle checked exceptions
The throws key word is used to implicitly throw an exception, while throw is utilized to handle checked exceptions
The throw key word is used to explicitly throw an exception, while throws is utilized to handle checked exceptions




Java Mock Test 05-10-2012 06:21 AM

Java Mock Test - Online test for Java for freshers and experienced

Which of the following below is FALSE for abstract class?

An abstract class can have only abstract methods
An abstract class can have both abstract and concrete methods
An abstract class is to be extended by another class
A class can extend only one abstract class



Java Mock Test 05-10-2012 06:20 AM

Java Mock Test - Online test for Java for freshers and experienced

Which of the following is false for stateless session beam?

Enterprise bean that does not maintain conversational state
EJB component that implements ‘javax.ejb.SessionBean’ interface
They are fast
They are slow


Java Mock Test 05-10-2012 06:20 AM

Java Mock Test - Online test for Java for freshers and experienced

____________ means each method in a multithreaded environment doesn’t access data by multiple threads at the same time.

Thread detach
Thread isolation
Thread safety
Thread lock


Java Mock Test 05-10-2012 06:20 AM

More online test

Android Quiz
Wireless Communication Test
OS test
Linux Test
Linux Quiz
C++ Online Test
Data Structure test
Perl Online Test
VC++ Online Test
OOPS Test
Embedded systems Test
PMP Practice Test


Career 12-20-2011 03:03 AM

 


Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring