About 255,000 results
Open links in new tab
  1. What are Java's primitive types? - Stack Overflow

    Any data type built-in to a programming language is called primitive data type. Words primitive or built-in or basic data types are used interchangeably by authors. Primitive data types in Java …

  2. What is meant by a primitive data type?

    A 'primitive' data type means that you have a value stored in memory--this value has no methods or internal structure. A primitive can only be operated on by external operations.

  3. What's the difference between primitive and reference types?

    The basic difference is that primitive variables store the actual values, whereas reference variables store the addresses of the objects they refer to. Let’s assume that a class Person is …

  4. What is the difference between a primitive class and primitive data …

    Aug 2, 2017 · A primitive is a data type which is not an object. int, float, double, long, short, boolean and char are examples of primitive data types. You can't invoke methods on these …

  5. In Java, why is String a non-primitive data type? - Stack Overflow

    1 String is an array of characters Primitive data types have limitations which fixed data type but in strings size is vary so that is the main reason why the the strings are non primitive String in …

  6. java - Is an array a primitive type or an object (or something else ...

    Oct 9, 2012 · Stepping deeper, the primitive types could be stored in memory with the original values but object is an address (reference). So we can imagine a paradox, how could we store …

  7. Scalar vs. primitive data type - are they the same thing?

    Jul 8, 2011 · In various articles I have read, there are sometimes references to primitive data types and sometimes there are references to scalars. My understanding of each is that they …

  8. oop - Difference between Primitive and non-primitive datatypes in ...

    Oct 22, 2015 · I am not able to understand exactly what is difference between primitive and non primitive data types in JavaScript even it is declared using same name i.e var.

  9. When to use wrapper class and primitive type - Stack Overflow

    Oct 15, 2009 · When I should go for wrapper class over primitive types? Or On what circumstance I should choose between wrapper / Primitive types?

  10. Why don't Java Generics support primitive types?

    Type safety is verified at compile time, and runtime is unfettered by the generic type system. In turn, this imposed the restriction that generics could only work over reference types, since …