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

What happens to the quantity demand of labor when governments establish a minimum wage?
How does most anthropologists explain the peopling of America
in Common Sense, what does thomas paine say in response to the argument that the colonies will continue to flourish under british rule
What is one possible theme of "A Cub Pilot"
In 1776 with An Inquiry into the Nature and Causes of the Wealth of Nations, Adam Smith challenged the prevailing belief in mercantilist policies. The characte
What did humans accomplish that no other large animal has done?
Compare the number of valence electrons in an atom of oxygen, o, with the number of valence electrons in an atom of selenium, se. are oxygen and selenium in the
Describe two ways the United States could use resources more sustainably.
Which of the following are true of the Federalist Papers? Select all that apply. a defense of the newly written Constitution a list of articles about democratic
In which situation would it be more appropriate to use formal language? A. Writing an email to members of your Spanish club reminding them of your next meeting