Advance Java Quiz
Note:
1. Test Consists of 14 Questions in Total.
2. Total Marks for the Test is 30.
3. All Questions Are Compulsory.
4. Questions May Be of 1 Mark, 2 Marks, 4 Marks or 5 Marks.
5. Test Will Be Conducted for 30 Minutes Only.
6.  There Is No "Auto-submit" Option Available for This Test. Students Are Solely Responsible for Submitting Their Quiz.
7. Delay of Submission of Test Even by 1 Minute or Lesser Will Be Counted as an Act of Cheating and "0" Marks Will Be Allocated for the Same.
8. In Match the Following Type Questions It May Happen That There Are Multiple Columns Which Are Not Visible on the Small Screen. Use Horizontal Scroll Bar for Viewing the Same. Also there might be multiple answers for same question.
9. Only One Attempt is Allowed per User
Sign in to Google to save your progress. Learn more
What is Remote method invocation (RMI)? *
1 point
_______ design pattern is used when we have a super class with multiple sub-classes and based on input, we need to return one of the subclass.
1 point
Clear selection
What will be the output of the following Java program? *
1 point
Captionless Image
Correct Format of IPv6 is *
1 point
What will be the output of the following Java program? *
1 point
Captionless Image
Select the Correct Syntax for *
4 points
Naming .lookup("rmi://172.168.196.125:1099/ex")
Naming.rebind("rmi://192.168.125.120:2000/example", ex);
Naming .lookup("rmi://192.168.25.120:2000/ex")
Naming.bind("172.168.150.125:1099/example", ex);
RMI Client
RMI Server
Adapter design pattern is used when _________ *
1 point
In MVC pattern, Model represents the visualization of the data that view contains *
1 point
Fill in the Blanks with Correct Sequence to complete the MVC Architecture Diagram. *
4 points
Captionless Image
Classify the following design pattern according to the type. *
4 points
Adapter
Singleton
Strategy
Factory
Creational Patterns
Structural Patterns
Behavioral Patterns
Select the Correct Option to complete the following Constructors. *
5 points
(String protocolName, String hostName, int port, String path) throws MalformedURLException
(int port, int maxQueue, InetAddress localAddress) throws IOException
getByName(String hostName) throws UnknownHostException
getAllByName(String hostName) throws UnknownHostException
(InetAddress ipAddress, int port) throws IOException
static InetAddress
ServerSocket
static InetAddress[ ]
Socket
URL
What will be the output of the following Java program? *
1 point
Captionless Image
Correct Format of IPv4 is *
1 point
Fill in the blanks as per sequence to complete the RMI Architecture Diagram *
4 points
Captionless Image
Submit
Clear form
This content is neither created nor endorsed by Google.