ExamVeda
Login
Home
Java Serialization and Networking
?

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.

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.