About 1,720,000 results
Open links in new tab
  1. java - How to calculate the range of primitive data types ... - Stack ...

    Range of data types so now we came to know that how we are calculating the Range of the integer data types.This logic is applicable for all the integer data types.

  2. java - What's the difference between primitive and reference types ...

    Reference or non-primitive data types have all the same size. and reference types can be used to call methods to perform certain operations. when declaring the reference type need to allocate memory.

  3. java - Create an ArrayList with multiple object types? - Stack Overflow

    Oct 26, 2013 · How do I create an ArrayList with integer and string input types? If I create one as: List<Integer> sections = new ArrayList <Integer> (); that will be an Integer type ArrayList.

  4. integer - Declaring an unsigned int in Java - Stack Overflow

    Nov 16, 2017 · In Java SE 8 and later, you can use the int data type to represent an unsigned 32-bit integer, which has a minimum value of 0 and a maximum value of 2^32-1. Use the Integer class to …

  5. java - Long vs Integer, long vs int, what to use and when? - Stack …

    May 2, 2011 · Java.util.collections methods usually use the boxed (Object -wrapped) versions, because they need to work for any Object, and a primitive type, like int or long, is not an Object. Another …

  6. types - What is the inclusive range of float and double in Java ...

    Nov 5, 2013 · 7 From Primitives Data Types: float: The float data type is a single-precision 32-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in …

  7. Where is the standard mapping from Java Object types to SQL types ...

    Feb 26, 2019 · 4 You can find the type mappings here: Mapping SQL and Java Types (Java 1.5) The part you're looking for is in table 8.9.3 JDBC Types Mapped to Java Object Types:

  8. Java data types - Stack Overflow

    Sep 12, 2015 · Because Java is case sensitive and the class is String, not string. Try Int y = 4;, that won't work either. Primitive data types like int all start with lowercase, String isn't a primitive data type …

  9. Java Array with multiple data types - Stack Overflow

    What can I use to store multiple different types of data, Int/String/etc.? I come from a PHP background where I can store different types of data into an array, but I don't know how to do that in Java.

  10. types - Java Datatypes - Hacker Rank - Stack Overflow

    Oct 1, 2020 · Java Datatypes - Hacker Rank Asked 5 years, 2 months ago Modified 5 years, 2 months ago Viewed 2k times