About 2,780,000 results
Open links in new tab
  1. Java Data Types - GeeksforGeeks

    Jan 16, 2026 · Non-primitive data types store references (memory addresses) rather than actual values. They are created by users and include types like String, Class, Object, Interface, and Array.

  2. Primitive Data Types (The Java™ Tutorials - Oracle

    In addition to the eight primitive data types listed above, the Java programming language also provides special support for character strings via the java.lang.String class. Enclosing your character string …

  3. Java Data Types - W3Schools

    Primitive Data Types A primitive data type specifies the type of a variable and the kind of values it can hold. There are eight primitive data types in Java:

  4. Data Types in Programming - GeeksforGeeks

    Jul 23, 2025 · 3. User Defined Data Types: A user-defined data type (UDT) is a data type that derived from an existing data type. You can use other built-in types already available and create your own …

  5. Generics in Java - GeeksforGeeks

    Nov 22, 2025 · Generics means parameterized types. They allows us to write code that works with different data types using a single class, interface or method. Instead of creating separate versions …

  6. Primitive data type vs. Object data type in Java with Examples

    Jul 12, 2025 · Java has 8 primitive data types namely byte, short, int, long, float, double, char and boolean. When a primitive data type is stored, it is the stack that the values will be assigned. When a …

  7. Default Values Assigned to Primitive Data Types in Java

    Oct 1, 2024 · They are different according to the return type of data type which is shown below where default values assigned to variables of different primitive data types are given in the table. However, …

  8. Abstract Data Types - GeeksforGeeks

    Jan 31, 2026 · Abstract Data Type (ADT) is a conceptual model. They define what a data structure does without dictating how it does it. By separating the logical properties from the physical implementation, …

  9. Java - Data Types - Online Tutorials Library

    Java data types define the type and value range of the data for the different types of variables, constants, method parameters, return types, etc. The data type tells the compiler about the type of …

  10. DSA Tutorial - GeeksforGeeks

    1 day ago · DSA stands for Data Structures and Algorithms. Data structures manage how data is stored and accessed. Algorithms focus on processing this data. Examples of data structures are Array, …