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

Please help, will give brainliest
What is the answer to 700 mass plus 5 volume in density
Two pieces of identical metal are being heated at different rates. The first piece is receiving 20 J of energy per minute, and the second piece is receiving 40
what is the scientific method of pi
PLEASE HELP ASAP I NEED IT QUICK
What is the value of x? Enter your answer in the box. X =​
Write the equation for g(x)
A pitcher throws a baseball horizontally from the mound to home plate. The ball falls 0. 857 m (2. 81 ft) by the time it reaches home plate 18. 3 m (60 ft) away
Which decimal is equal to 42 ? 10 A. 0.04 B. 0.4 O c. 0.41 O D. 4.10
How does food, like the oatmeal and the gas station salsa, play a role in part 1 of the book of unknown americans?.