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

A false perceptual experience that has a compelling sense of being real despite the absence of external stimulation is termed a:
What is the line of symmetry for the parabola whose equation is y = x2 + 10x + 25
For a newborn weighing 1 kg, what dose of 1:10,000 (0.1 mg/ml) concentration of intravenous epinephrine is indicated
How do you subtract two negative numbers?
A patient is being discharged after being treated with nitroglycerin for angina. which instructions should the nurse include in the teaching plan for the patien
You want to get new carpet for a square room that has an area of 150 square feet. You can only order carpet using dimensions to the nearest whole foot. What wo
let A and B be nxn matrices such that AB is singular prove that either A or Bis singular
Marshall is working with a trainer to prepare his dog for a show. With one particular command, Marshall notices the dog will sometimes obey and sometimes not. W
The measure of ∠A is 55° more than three times the measure of ∠B. The sum of their measures is 155°. Find m ∠A and m ∠B.
The condition in which the allele frequency within a population remains the same is called __________. genetic pool genetic equilibrium genetic drift genetic va