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

Which strategy would you use to find 2+8 ? Explain how you decided
what is 0.97 rounded to the nearest tenth
What determined the types of goods and crops that an Inca community would produce and trade with other Inca communities?
Which processes form metamorphic rocks? A. melting and pressure B. pressure and cooling C. melting and cooling D. heat and pressure
Who are the baby boomers? A. the leaders of the civil rights movement B. the students who protested the Vietnam War C. the scientists and astronauts who took
Physical signs of stress typically include ________. a. Stomach growling b. Tense muscles c. Tickling sensation d. All of the above
Different ways to write 2(1+4)
Why do people settle in areas that have natural hazards? They have strong familial ties there. They like the climate. They are ignorant of the risks. They a
a recipe for lasagna calls for 3 pounds of tomatoes to serve 5 people. a caterer wants to make enough lasagna to serve 110 people. how many pounds of tomatoes d
I want to know about the future of the universe. I should study _____. geology meteorology cosmology oceanography