What is the default value for all numeric data types?
Answers
Answered by
1
In this Topic:
1. Data Types for Fixed-point Numbers. NUMBER. DECIMAL , NUMERIC. INT , INTEGER , BIGINT , SMALLINT , TINYINT , BYTEINT. ...
2. Data Types for Floating Point Numbers. FLOAT , FLOAT4 , FLOAT8. DOUBLE , DOUBLE PRECISION , REAL. Floating Point Examples in Table Columns.
3. Numeric Constants.
Thank you..
Answered by
2
"There are different types of primitive data and each of them has specific numeric value. Some of their numeric value are:
Int gear=1
Byte=0
Short=0
Int=0
Long-0L
Float= 0.0f
Double=0.0d
Char=”\u0000”
String=null
Boolean-false
Results or responses from the primitive data are:
boolean result = true;
char capitalC = 'C';
byte b = 100;
short s = 10000;
int i = 100000;
"
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Physics,
11 months ago
Political Science,
11 months ago
Hindi,
1 year ago