गिव द टाइप्स ऑफ डाटा टाइप इन जवा
Answers
Answered by
1
Answer:
There are majorly two types of languages.
First, one is Statically typed language where each variable and expression type is already known at compile time. Once a variable is declared to be of a certain data type, it cannot hold values of other data types.
Example: C, C++, Java.
The other is Dynamically typed languages. These languages can receive different data types over time.
Example: Ruby, Python
Java is statically typed and also a strongly typed language because, in Java, each type of data (such as integer, character, hexadecimal, packed decimal, and so forth) is predefined as part of the programming language and all constants or variables defined for a given program must be described with one of the data types.
Similar questions