2.
How an object can become serializable?

7.
What will be the output of the following Java program?
import java.net.*;
class networking 
{
    public static void main(String[] args) throws Exception
    {
        URL obj = new URL("https://www.example.com/javamcq");
        URLConnection obj1 = obj.openConnection();
        System.out.print(obj1.getLastModified);
    }
}

Note: Host URL was last modified on june 18 tuesday 2013.

Read More Section(Java Serialization and Networking)

Each Section contains maximum 100 MCQs question on Java Serialization and Networking. To get more questions visit other sections.