Home / MCQ Bank / Computer
Computer Java Serialization And Networking

Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • writeObject()

Related Computer Questions

What does the dir() function in Python do? What will be the output of the following Java program? import java.util.*; class Output { public static double sumOfList(List<? extends Number> list) { double s = 0.0; for (Number n : list) s += n.doubleValue(); return s; } public static void main(String args[]) { List<Double> ld = Arrays.asList(1.2, 2.3, 3.5); System.out.println(sumOfList(ld)); } } All of the following are examples of real security and privacy risks EXCEPT____________? To which does the function pointer point to? State the complexity of algorithm given below. int function(vector<int> arr) int len=arr.length(); if(len==0) return; temp=arr[len-1]; arr.pop_back(); return temp;