5.Java Short Data Type

Published: 27 August 2017
on channel: DASARI TUTS
666
12

Primitive types are the most basic data types available within the Java language. There are 8: boolean, byte, char, short, int, long, float and double. These types serve as the building blocks of data manipulation in Java. Such types serve only one purpose — containing pure, simple values of a kind. Because these data types are defined into the Java type system by default, they come with a number of operations predefined. You can not define a new operation for such primitive types. In the Java type system, there are three further categories of primitives:

Numeric primitives: short, int, long, float and double. These primitive data types hold only numeric data. Operations associated with such data types are those of simple arithmetic (addition, subtraction, etc.) or of comparisons (is greater than, is equal to, etc.)
Textual primitives: byte and char. These primitive data types hold characters (that can be Unicode alphabets or even numbers). Operations associated with such types are those of textual manipulation (comparing two words, joining characters to make words, etc.). However, byte and char can also support arithmetic operations.
Boolean and null primitives: boolean and null.


On this page of the site you can watch the video online 5.Java Short Data Type with a duration of hours minute second in good quality, which was uploaded by the user DASARI TUTS 27 August 2017, share the link with friends and acquaintances, this video has already been watched 666 times on youtube and it was liked by 12 viewers. Enjoy your viewing!