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

How do amoebas obtain food?
solve using the substitution and elimination method 3a-12b=9 4a-5b=3 can someone please help?
In what types of environments would you find protists?
Find the slope of the line that passes through each pair of points
A rocket lifted off from a launch pad and traveled vertically 30 km, then traveled 40 km at 30 degrees from the vertical, and then traveled 100 km at 45 degrees
what is 0.000702 in scientific notation.
How is 'hearing' a motif in the novel A Separate Peace by John Knowles?
Draw 2 lines in a triangle. Make 2 triangles and 2 trapezoids.
Iliada went to Minewaska state park one day this summer. All of the people at the park were either either hiking or bike riding. There are 178 more hikers than
What kind of molecule is an enzyme? Why are enzymes important in cell?