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

who were allowed to go to school in the byzantine empire
solve for the indicated variable in each literal equationa/b = c for b
Charlie runs at a speed of 3 yards per second . About how many miles per hour does Charlie run?
The area of a rectangle is 70 square inches. The length of the rectangle is 3 inches longer than the width. Which equation models this situation? A. w(w+3)=70 B
2 NO(g) + O2 (g) --> 2 NO2 (g) What mass of NO2 is produced by the reaction of 2.40 mol NO with excess oxygen?
what was the church like before the french revolution?
what do you think will happen to the potato core in the very salty water? why?
Suppose a man's scalp hair grows at a rate of 0.35mm per day. What is this growth rate in feet per century?
how did lucy larcom feel about her work in the factory?
Which of the following statements is true of chords? Select all that apply. A chord is a line segment. A chord connects two points on a circle. A chord can be a