Question: 47 What will be the output of the following Java program? ed class networking out of public static void main(String[] args) throws UnknownHostException { question

47 What will be the output of the following Java program? ed class networking out of public static void main(String[] args) throws UnknownHostException { question InetAddress obji = InetAddress.getByName("sanfoundry.com"); InetAddress obj2 = InetAddress.getByName("sanfoundry.com"); boolean x = obji.equals(obj2); System.out.print(x); } } Select one: O a. 1 O b. false O c. true O d. the IP address of Sanfoundry.com Daareten SITIT
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
