This topic contains a solution. Click here to go to the answer

Author Question: The ________ method in the InetAddress class returns the IP address. (Read 73 times)

tiffannnnyyyyyy

  • Hero Member
  • *****
  • Posts: 512

Question 1

You can invoke ________ on a Socket object, say socket, to obtain an InetAddress object.
◦ socket.InetAddress();
◦ socket.retrieveInetAddress();
◦ socket.getInetAddress();
◦ socket.obtainInetAddress();

Question 2

The ________ method in the InetAddress class returns the IP address.
◦ getIP()
◦ getAddress()
◦ getIPAddress()
◦ getHostAddress()


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by tiffannnnyyyyyy on May 6, 2020

cloudre37

  • Sr. Member
  • ****
  • Posts: 332
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 29% of students answer this correctly




tiffannnnyyyyyy

  • Member
  • Posts: 512
Reply 2 on: May 6, 2020
Wow, this really help


pratush dev

  • Member
  • Posts: 321
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

The most dangerous mercury compound, dimethyl mercury, is so toxic that even a few microliters spilled on the skin can cause death. Mercury has been shown to accumulate in higher amounts in the following types of fish than other types: swordfish, shark, mackerel, tilefish, crab, and tuna.

Did you know?

Coca-Cola originally used coca leaves and caffeine from the African kola nut. It was advertised as a therapeutic agent and "pickerupper." Eventually, its formulation was changed, and the coca leaves were removed because of the effects of regulation on cocaine-related products.

Did you know?

The Centers for Disease Control and Prevention (CDC) was originally known as the Communicable Disease Center, which was formed to fight malaria. It was originally headquartered in Atlanta, Georgia, since the Southern states faced the worst threat from malaria.

Did you know?

The ratio of hydrogen atoms to oxygen in water (H2O) is 2:1.

Did you know?

Certain topical medications such as clotrimazole and betamethasone are not approved for use in children younger than 12 years of age. They must be used very cautiously, as directed by a doctor, to treat any child. Children have a much greater response to topical steroid medications.

For a complete list of videos, visit our video library