What protocol is used by the DatagramSocket class?
Correct Answer: UDP
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Which class contains a method to create a directory?
Inheritance is a process by which the objects of parent class acquire the properties of the child class.
What would happen on trying to compile and run the following code? class House { public final void MaintainMethod() { System.out.println('MaintainMethod'); } } public class Building extends House { public static void main(String argv[]) { House h = new House(); h.MaintainMethod(); } }
What would happen on trying to compile and run the following code? public class MainCls { public static void main(String argv) { System.out.println('My Text'); } }
For the given variables, which will compile without an error? char c = 'c'; int i = 50; double d = 80; long l = 200; String s = 'Goodbye';
To specify a stacking order, one can use the _____ property.
The __________ method parses a string s to an int value.
The __________ method immediately terminates the program.
The not equal comparison operator in java is ________.
To convert a javascript object to a json string, you use the ____ method.