R

Ram Sharma • 193.86K Points
Coach

Q. Which is a one-way communication only between the client and the server and it is not a reliable and there is no confirmation regarding reaching the message to the destination?

  • (A) TCP/IP
  • (B) UDP
  • (C) Both A & B
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 121
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs on JAVA

Q. java.awt.Component class method getLocation() returns Point (containg x and y cordinate).What does this x and y specify

Q. Which is quicker and uses less memory?

Q. What will be the output of the following Java program? class exception_handling { public static void main(String args[]) { try { int a[] = {1, 2,3 , 4, 5}; for (int i = 0; i < 5; ++i) System.out.print(a[i]); int x = 1/0; } catch(ArrayIndexOutOfBoundsException e) { System.out.print("A"); } catch(ArithmeticException e) { System.out.print("B"); } } }

Q. What is the output of a Logical OR (|) operation if one of the inputs/operands is false?

Q. The code within the ----------- block will always be executed whether or not an exception is thrown.

Q. Which among the following is not a valid Data Type in Java?

Q. What is the result of the following code snippet? class Parent { void display() { System.out.println("Parent"); } } class Child extends Parent { void display() { System.out.println("Child"); } } public class Main { public static void main(String[] args) { Parent obj = new Parent(); obj.display(); } }

Q. Which of these classes is used to read characters and strings in Java from console?

Q. What is the result of compiling and running the following code? class Base{ public Base(){ System.out.print("Base"); } } public class Derived extends Base{ public Derived(){ this("Examveda"); System.out.print("Derived"); } public Derived(String s){ System.out.print(s); } public static void main(String[] args){ new Derived(); } }

Q. Which of these class is related to all the exceptions that can be caught by using catch?

Learn All JAVA MCQs


Question analytics