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 two ancient democracies helped shape the system of government we have today?
What is the square root of 100
what is the genotype of a person with cystic fibrosis? here is the explanation to the question I got:cystic fibrosis (CF) is a recessive genetic disorder.The re
Name the energy resource that involves extracting heat from rocks
Estimate then find the product of 758×6
why does east texas have a higher average rainfall amount compared to west texas
Factorise 8x^ + 4xy ?
Which pair of lines are parallel? A. Y - 2x = -5 and 2x - y = -6 B. 2x + y = -5 and 2x - y = -6 C. Y- 2x = -5 and 2x + y = 6 D. 2x + y = -5 and 2x + y = 6
K^2+5k-6=0 by the quadratic formula
A plane has a takeoff speed of 88.3m/s and requires 1365m to reach that speed .determine the acceleration of the plane and the time required to reach this speed