Answer:
The answer is "Option B"
Explanation:
In the given code, a class "DateType" is declared, inside the class, four methods "Initialize, GetYear, GetMethod, and GetDay" is defined, in which the "Initialize" method does not return any value and other methods return a constant type value, which means it value can't be changed.
Inside the class three integer variable is defined, that is"year, month, and day". In the "GetDay" method call, it first creates the class object "day1", which is already defined in question and call the method by dot (.), that's why only choice b is correct.
Answer:
There is Name resolution failure
Explanation:
This normally occurs when the computer can't access the host (your server). It can be caused by several factors, such as:
-Internet connectivity is down
-The client does not have DNS servers configured or is configured with the incorrect DNS server IP addresses.
-The DNS servers are failing.