ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The following are example of value types
|
bool
|
|
byte
|
|
char
|
|
decade
|
Explanation:
Detailed explanation-1: -All fundamental data types, Boolean, Date, structs, and enums are examples of value types. Examples of reference types include: strings, arrays, objects of classes, etc.
Detailed explanation-2: -A value type can be one of the two following kinds: a structure type, which encapsulates data and related functionality. an enumeration type, which is defined by a set of named constants and represents a choice or a combination of choices.
Detailed explanation-3: -The CHAR data type stores character data in a fixed-length field. Data can be a string of single-byte or multibyte letters, numbers, and other characters that are supported by the code set of your database locale.
There is 1 question to complete.