jann2949 jann2949
  • 24-08-2019
  • Computers and Technology
contestada

What is the main difference between a struct and a class?

Respuesta :

mathmate
mathmate mathmate
  • 24-08-2019

Explanation:

A class encapsulates methods, while a struct cannot.

Answer Link

Otras preguntas

Sam is walking through the park. He hears a police car siren moving on the street coming toward him. What happens to the siren sound as it approaches and then p
Were-jaguar figures were created by which culture?
What is the meant by the following statement the cell membrane is said to be "fluid"?
The projectile motion of an object can be modeled using h(t) = gt2 + v0t + h0, where g is the acceleration due to gravity, t is the time since launch, h(t) is
Which type of magma has the greatest silica content?
When most white artists covered a rhythm-and blues or doo-wop song in the 1950s, they?
Materials used in "additive" sculpture include:
How can you block attackers, who are performing reconnaissance and probing, with nmap and nessus port scanning and vulnerability assessment scanning tools?
Kumar gave his informative speech on meteorology. as part of the speech, he displayed an excellent drawing to indicate the temperatures in different layers of t
Why is the coefficient of friction independent of the mass?