1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
svetoff [14.1K]
3 years ago
7

How do you do these questions? The first two questions could have multiple answers and the third is one answer only.

Computers and Technology
1 answer:
mr_godi [17]3 years ago
8 0

Answer:

1. c is the correct option, a and b are false

2. It is always desirable that all the object instance variables contribute to calculating the hash code.

3..( getfirstname +getSecondName).Hashcode()

Explanation:

1. Two same hashcode cannot be in same hashset, and if two keys are equal then it does not mean, their hash code should also be equal. And if a key is greater, then its hashcode will definitely be greater.

2. Each object instance variable must contribute to calculating the hash code, as we need one hash code for each key or object. However, set.Contains(Obj) must return true if we have a hash code for that object, as it must be present in HashSet then.

3. Also for each of the key we need one hash code, and here the first name and the last name together are making one key, and hence we should concatenate both, and then generate a hash code for that concatenated key, and hence the correct option is (getFirstName + getSecondName).Hashcode()

You might be interested in
What is meaning of reboot
TEA [102]
I believe to reboot is to reset. Its the act of resetting, or starting up a computer again.
4 0
4 years ago
Read 2 more answers
"You are working on a Debian distribution of Linux. You need to install a package, but you do not want to manually install all t
Stella [2.4K]

Answer:

apt-get

Explanation:

apt-get can be used to manually install a package, without need to manually install all the dependencies for the package.

7 0
3 years ago
A common and extremely useful feature of most online dictionaries is
choli [55]
A common and extremely useful feature of most online dictionaries is <em />interoperable browser.
4 0
3 years ago
. wireless network adapters differ from regular networkadapters because theycontain………………..
Nataly_w [17]

Answer: Transceivers

Explanation:

 Wireless network adapters differ from regular network adapters because they contain transceivers as, the transceiver is that portion of the network interface which transmitted the data by concerting digital data into the digital signals in the medium. Basically, the network adapter are responsible for connected the host in the network medium and also convert the binary form data.Transceiver signal are basically depends upon the type of the network.

8 0
3 years ago
CO! Oher...9
kondor19780726 [428]

Answer:

Altitude of the town(h1) = 1,196.8 m

Explanation:

Given:

Height of barometer(h) = 65 cm Hg = 0.65

Standard atmospheric pressure  = 76 cm Hg = 0.76

Density of mercury(Pm) = 13,600 kg/m³

Density of  air (Pa) = 1.25 kg/m³

Find:

Altitude of the town(h1)

Computation:

Pressure due column = Δp mercury column

(Pa)(h1) = (Pm)(h)

(1.25)(h1) = (13,600)(0.76-0.65)

(1.25)(h1) = 1,496

Altitude of the town(h1) = 1,196.8 m

6 0
3 years ago
Other questions:
  • Which of the following is a social news-sharing service?
    10·2 answers
  • In which career field would the computing technology industry associations compTIA A+ certification be useful
    6·1 answer
  • Which type of NAC agent will be used during the posture assessment before allowing access to the VPN users?
    9·1 answer
  • When adopting the use of social media in emergency management, it is important to have
    10·1 answer
  • Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each nu
    11·1 answer
  • Edhesive assignment 1 movie ratings
    9·1 answer
  • Imagine running a 64-bit system on a 32-bit system, where we simulate a single 64- bit memory location (register) using two atom
    14·1 answer
  • What statement describes the last step in evaluating<br> information?
    10·1 answer
  • What is HTML? Write some future of HTML.<br>follow for follow ​
    15·2 answers
  • Give an example of what Artificial Intelligence application most popular is used on a daily basis.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!