Java Java Basic Data Types

    Introduction

    1. Java Integers
    2. Java byte type
    3. Java short type
    4. Java int type
    5. Java int type literals
    6. Java int type literals convert Hexadecimal Digit to Decimal Value
    7. Java int type literals convert decimal to hex
    8. Java int type literals convert decimal number to hex number as a string


    9. Java int type literals Question 1
    10. Java int type convert decimal to binary String
    11. Java int type convert day/hour/minute to minutes
    12. Java int type convert byte to megabyte
    13. Java int type overflow
    14. Java int type format add leading zero
    15. Java int type format via DecimalFormat
    16. Java int type format via NumberFormat


    17. Java long type
    18. Java long type literal
    19. Java long type calculation
    20. Java long type format to readable String as B KB MB GB
    21. Java floating-point types
    22. Java floating-point types check equality of two values after calculation
    23. Java floating-point literals
    24. Java floating-point literals Question 1
    25. Java floating-point literals scientific notation Question 1
    26. Java floating-point value round-off errors
    27. Java float type
    28. Java float type in for loop
    29. Java float type format to readable String as B KB MB GB
    30. Java float type format via DecimalFormat
    31. Java float type round to int
    32. Java double type
    33. Java double type calculate hypotenuse
    34. Java double type calculate mean
    35. Java double type calculate standard deviation
    36. Java double type convert celsius to fahrenheit
    37. Java double type convert fahrenheit to celsius
    38. Java double type convert to String
    39. Java double type format to keep only two decimals
    40. Java double type round numbers
    41. Java double type parse String to double
    42. Java double type unintended integer division
    43. Java char type
    44. Java char type literals
    45. Java char type unicode literal
    46. Java char type increment operator
    47. Java char type cast between char and numeric types
    48. Java char type check lower case char by ASCII value
    49. Java char type check upper case char by ASCII value
    50. Java char type compare
    51. Java char type convert to String
    52. Java char type display the ASCII character table
    53. Java char type random value
    54. Java char type random upper case character generate
    55. Java char type read from the Console
    56. Java char type test using methods from Character class
    57. Java char type generate random character
    58. Java char type Question 1
    59. Java char type Question 2
    60. Java char type Question 3
    61. Java boolean type
    62. Java boolean literals
    63. Java boolean cast to int
    64. Java boolean type check social security number format
    65. Java type conversion and casting
    66. Java type conversion and casting Question 1
    67. Java type conversion and casting Question 2
    68. Java type conversion and casting Question 3
    69. Java type promotion rules
    70. Java switch two int values without using the third variable