What will be the output of the following Java program? [code] import java.net.*; class networking { public static

What will be the output of the following Java program?
Code:
    import java.net.*;
    class networking
    {
        public static void main(String[] args) throws MalformedURLException
        {
            URL obj = new URL("https://ehoidap.com/javamcq");
            System.out.print(obj.toExternalForm());
        }
    }
A. 123hoidap
B. ehoidap.com
C. ehoidap.com
D. https://ehoidap.com/javamcq
 

Tìm kiếm

Back
Top