answersLogoWhite

0

Only if the non-primitive data types are actually controls, such as an array of label controls, or an array of edit boxes. However, a control array is still an array. The only difference is that the values will likely be resource handles (objects that refer or point to the actual object which will be stored elsewhere in memory) rather than an actual value itself. That is, an array of primitive data types stores the actual value in the array itself.

User Avatar

Wiki User

9y ago

What else can I help you with?

Continue Learning about Engineering

What are primitive variables?

Primitive variables are variables that are not objects and carry primitive values like numbers, boolean etc. The primitive data types in java are:intbytefloatcharlongbooleanshortdouble


What are the smallest and the largest integer values for primitive type short?

The smallest value is -32,768 and the maximum is 32,767


Why Smalltalk is a pure object oriented language?

Smalltalk is a "pure" object-oriented programming language, meaning that, unlike Java and C++, there is no difference between values which are objects and values which are primitive types. In Smalltalk, primitive values such as integers, booleans and characters are also objects, in the sense that they are instances of corresponding classes, and operations on them are invoked by sending messages. A programmer can change the classes that implement primitive values, so that new behavior can be defined for their instances-for example, to implement new control structures-or even so that their existing behavior will be changed. This fact is summarized in the commonly heard phrase "In Smalltalk everything is an object", which may be more accurately expressed as "all values are objects", as variables are not. Since all values are objects, classes themselves are also objects. Each class is an instance of the metaclass of that class. Metaclasses in turn are also objects, and are all instances of a class called Metaclass. Code blocks are also objects.


What do you mean by vectors only hold objects not primitive data types?

It means that you can only store values like Integer, String etc in a Vector and not values like int, float etc. int, float, double etc are primitive data types. collections by their default behavior can hold only objects and not primitives.


Define and give three examples of primitive data types?

A primitive variable can be one of eight types: char, boolean, byte, short, int, long, double, or float. Once a primitive has been declared, its primitive type can never change, although in most cases its value can change. they are used to store values like name, age, salary etc.

Related Questions

What are primitive variables?

Primitive variables are variables that are not objects and carry primitive values like numbers, boolean etc. The primitive data types in java are:intbytefloatcharlongbooleanshortdouble


Which interval contains the fewest data values?

Which contains the fewest data values


What are the smallest and the largest integer values for primitive type short?

The smallest value is -32,768 and the maximum is 32,767


Why Smalltalk is a pure object oriented language?

Smalltalk is a "pure" object-oriented programming language, meaning that, unlike Java and C++, there is no difference between values which are objects and values which are primitive types. In Smalltalk, primitive values such as integers, booleans and characters are also objects, in the sense that they are instances of corresponding classes, and operations on them are invoked by sending messages. A programmer can change the classes that implement primitive values, so that new behavior can be defined for their instances-for example, to implement new control structures-or even so that their existing behavior will be changed. This fact is summarized in the commonly heard phrase "In Smalltalk everything is an object", which may be more accurately expressed as "all values are objects", as variables are not. Since all values are objects, classes themselves are also objects. Each class is an instance of the metaclass of that class. Metaclasses in turn are also objects, and are all instances of a class called Metaclass. Code blocks are also objects.


What are the default values of different primitive types?

The default values for primitive types in Java are the following:Data TypeDefault Valuebyte0short0int0long0Lfloat0.0fdouble0.0dchar'\u0000' (or 0)String (or any object)nullbooleanfalseNote if you use the Object wrappers of primitives (e.g., Byte, Integer, Double, Float, etc.) then like any Object the default value is null.


How does PHP explode work?

Explode function splits a string into an array. For example: $str="Hello, How are you? i am fine."; explode("?",$str,2); it outputs two values in an array by splitting string into two values. Before question mark is considered as first value to array and after question mark is considered as second value. Finally, Array contains two values when you print it using print_r( ) function.


What do you mean by vectors only hold objects not primitive data types?

It means that you can only store values like Integer, String etc in a Vector and not values like int, float etc. int, float, double etc are primitive data types. collections by their default behavior can hold only objects and not primitives.


What are the characteristics of value?

Values is what a person has that makes them unique, although the values you have may shared with many. Some values, such as honesty, caring, trustworthy, faithful, generous, etc. are considered high values. Other values, such as dishonesty, unfaithfulness, selfishness, etc. are considered low values.


What are values of the independent variable?

The answer depends on whether or not you (or someone else) have any control over it. If someone has control then they can choose the values. If not, you get what the observations give you.


What is the slope of the line that contains the points?

It's (the difference in the points' y-values) divided by (the difference in their x-values)


Return to the primitive by salvador Lopez?

"Return to the Primitive" is a book by Salvador Lopez that discusses the concept of returning to a simpler way of life in order to find peace and happiness. The author argues that modern society has become too complex and disconnected from nature, leading to stress and dissatisfaction. Lopez suggests that by reconnecting with our primitive instincts and values, we can achieve a more fulfilling and authentic existence.


What values must be considered when creating scale for each axis?

The range of values in the data to be plotted.