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

The modern theater is characterized by __________
Eric can spend a maximum of $270 on office supplies. Each ream of paper costs $6. Each ink cartridge costs $18. Which of the following graphs represents the pos
A train traveling at a constant speed takes a passenger from Elm to Millwood, stopping at Centre along the way. It takes 2004-01-03-03-00_files/i0260000.jpg tim
¿Ustedes contaron la historia a Eduardo? a. Sí, se los contamos b. Sí, se la contamos c. Sí, nos la contamos
Which is a good organizing topic for the post–Civil War era?
How did post-World War II independence movements in Vietnam differ from those in India? A. India's movements sought to establish a communist form of govern
Many new restaurants have opened in collegetown in recent years. given this change in supply, what type of demand would result from a large drop in prices for r
Read the passage from "The Raven and the First Men: The Beginnings of the Haida.” The men were hungry and thirsty, but there was no food on the large sandy bea
the approval of ____ of the states was needed to ratify the constitution
Which of the following describes one of the major drawbacks of free trade between countries? A. Workers may lose their jobs if their employer decides to re