Q107
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.
A.
june
B.
18-6-2013
C.
Tue 18 Jun 2013
D.
Tue Jun 18 2013
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board