Advance Java MCQs
Advance Java MCQs
Advance Java MCQs
(*)
JDBC MCQs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Question (*)
MI MCQs
Which package from below is used in Remote Method Invocation
RMI Server is responsible for
Which exception is thrown by the remote object
Which exception must be handled at the rmi client program
Stud exsits at
Skeleton exists at
Which of the below mentiond methods are the member of RMI class
What are the layers of RMI Architecture
Binding RMI Means
In RMI, the objects are passed by
RMI stands for
RMI Architecture consits of how many layers
In RMI, the distributed object application need to do
Which is an object that acts as a gateway for client
RMI is
Question (*)
MULTITHREADING MCQs
Multithreading means
Which of these are the types of multitasking
What is the data type of Thread Priority in Java
Which option from the below need less resources
What decides Thread Priority
Which option from the below is the constructor of Thread class
Which of the following will ensure the thread will be in running state
Which keyword from the below is used for synchronization
Which of the following method wakes up all the threads
In java multithreading, the thread can be created by using
If we call the mehod start (), which method calls internally?
What is the maximum priority of thread in java
Which statement is correct from the below options about thread
Which method is used to check whether the thread is running or not
Which method we implement for Runnable Interface
Option 1 (*)
java.applet
Creating the instance of remote object
InputOutException
RemoteException
client level
client level
checkIP()
stub and skeleton
Registring the name for remote object
Reference
Random Method Invocation
4
Locate the remote objects
skeleton
one way communication
Option 1 (*)
java.rmi
expotring the remote object
RemoteAccessException
NotBoundException
server level
server level
addLocation()
Remote Reference
Registring the class for remote object
Value and Reference
Remote Memory Interface
3
Comunicate with the remote objects
stud
two way communication
Option 2 (*)
Option 3
java.lang.*
binding the instance of the remote object
RemoteInputOutputException
MalFormedURLException
both 1 and 2
both 1 and 2
addServer()
Transport
both 1 and 2
Value
Remote Method Invocation
2
Load the class defenition
both 1 and 2
both 1 and 2
Option 3
Option 4
java.lang.reflect
All of the above
RemoteException
All of the above
None of the above
None of the above
None of the above
All of the above
None of the above
None of the above
All of the above
1
All of the above
None of the above
None of the above
Option 4
1
4
3
4
2
1
4
4
3
2
1
2
3
1
2
Correct answer(1,2,3,4)
2
3
4
4
1
2
4
4
1
3
3
1
4
2
3
Correct answer(1,2,3,4)
2
3
1
4
4
2
3
2
1
3
1
2
3
1
3