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

A cone is cut by a plane parallel to the slant height of the cone. What is the shape of the cross section that is formed
John is normally a cook at a fast food establishment but is reassigned to cleaning tables what symptoms does john likely have to cause him to be reassigned
Math help! PLEAAASSEE Evaluate the summation of 2 times negative 2 to the n minus 1 power, from n equals 1 to 7. −256 −84 84 86
This is a portrait of king Henry VII which of the following is not a true statement about this portrait
Felicia found an apartment that rents for 470 a month the landlord requires one and half months rent for the security deposit and the first month rent before Fe
When cells divide in meiosis 1, do the chromosomes have the same alleles for each gene?
when sugar crystals dissolve in water the level of water does not rise appreciably why?
can anyone help me for questions 1-10,fill in the blank with the letter of the description that best matches the term. description A a reliable and rapid respo
Who confirms the presidential appointments of Cabinet officers and other top federal officials?
A ______ is a network that has all connected devices located in the same physical location.