Top "Primitive-types" questions

Built-in types in any programming language that are defined in an axiomatic way and cannot be divided into other types in the language.

Uninitialized int vs Integer

I was just studying up on my Java in preparation for an exam and I ran into a sort of …

java reference primitive-types
C and derived data types?

I know the fundamental data types in C - char, int, float etc. But What exactly are derived data types …

c types primitive-types derived
PHP type-hinting to primitive values?

I'd like to know whether one can type-hint a method to expect primitive types? Something like this: public function someMethod(…

php primitive-types type-hinting
In java, is it more efficient to use byte or short instead of int and float instead of double?

I've noticed I've always used int and doubles no matter how small or big the number needs to be. So …

java performance int double primitive-types
Is a Java array of primitives stored in stack or heap?

I have an array declaration like this: int a[]; Here a is an array of primitive int type. Where is …

java arrays stack heap primitive-types
Convert ArrayList<Byte> into a byte[]

Possible Duplicate: How to convert an ArrayList containing Integers to primitive int array? How to convert an ArrayList<Byte&…

java arrays arraylist primitive-types
Why must local variables, including primitives, always be initialized in Java?

Why must local variables, including primitives, always be initialized in Java? Why is the same not applicable in the case …

java variables primitive-types
What is the largest data type for storing (and printing) an integer?

In C on a 32-bit system, which data type will store (and can therefore print) the largest integer? Is it …

c types int long-integer primitive-types
How do I pass a primitive data type by reference?

How can I pass a primitive type by reference in java? For instance, how do I make an int passed …

java pass-by-reference primitive-types
Initialize int to 0 or not?

In the android source code I see they define four variables as protected int mPaddingRight = 0; protected int mPaddingLeft = 0; protected int …

java android primitive-types