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 ASAP!!!what is the length of the hypotenuse of the triangle?​
Choose the correct answer
Who increased the sense of french nationalism during the 100 years war?
. Name three of the fundamental principles of Homeland Security Exercise and Evaluation Program (HSEEP). A. Progressive planning approach, whole community integ
B. The shape made by re-arranging the pizza the pizza slices look like a parallelogram.1. Estimate the height and base of the parallelogram. Explain your reason
The diagram compares ecosystems near the Sonoran and chichuahuan deserts
Please help!!!!!!! The can of juice hold 1 pint. About how many pints could the pitcher hold? How would you decide?
50000 fish were stocked in a lake with a 20% decrease each year . whats the 1st year will it be under 5000 fish
Consider the following function. f(x) = 9 − x2/3 Find f(−27) and f(27). f(−27) = f(27) = Find all values c in (−27, 27) such that f '(c) = 0. (Enter your answer
When a guitar is tuned to adjust it pitch what is it that is changed? A) its wavelength B) Its frequency C) Its amplitude D) its linear density