What is numeric promotion?

What is numeric promotion?

Hi,

What is numeric promotion?

Thanks,

View Answers

April 17, 2013 at 11:20 AM

Hi,

The numeric promotion in java used to convert the smaller number type to larger numeric types. In numerical promotion in java program we converting the byte, char, and short values into int values. We also convert the int values in to long values, if necessary. The long and float values are converted to double values, as per the need.

For more details: http://www.roseindia.net/java/jdk7/UnderscoresinNumericLiterals.shtml

Thanks,









Related Tutorials/Questions & Answers:
What is numeric promotion?
java numeric promotion
Advertisements
Java numeric promotion
ModuleNotFoundError: No module named 'django-oscar-promotions'
Numeric Data Types
ModuleNotFoundError: No module named 'Numeric'
ModuleNotFoundError: No module named 'Numeric'
Allow to Enter only numeric data.
ModuleNotFoundError: No module named 'js.jquery_numeric'
ModuleNotFoundError: No module named 'js.jquery_numeric'
ModuleNotFoundError: No module named 'numeric-version'
ModuleNotFoundError: No module named 'numeric-version'
ModuleNotFoundError: No module named 'js.jquery_numeric'
ModuleNotFoundError: No module named 'django-admin-numeric-filter'
ModuleNotFoundError: No module named 'django-admin-numeric-filter'
ModuleNotFoundError: No module named 'hydratk-lib-numeric'
Java Numeric Pyramids - Java Beginners
Maven Repository/Dependency: de.averbis.textanalysis | numeric-value-typesystem
de.averbis.textanalysis - numeric-value-typesystem version 4.4.0 Maven dependency. How to use numeric-value-typesystem version 4.4.0 in pom.xml?
de.averbis.textanalysis - numeric-value-typesystem version 4.4.0 Maven dependency. How to use numeric-value-typesystem version 4.4.0 in pom.xml?
Underscores in Numeric Literals
What is NVL?
Random alpha numeric string of fixed size
ModuleNotFoundError: No module named 'odoo12-addon-web-widget-numeric-step'
Maven dependency for de.averbis.textanalysis - numeric-value-typesystem version 4.3.0 is released. Learn to use numeric-value-typesystem version 4.3.0 in Maven based Java projects
Maven dependency for de.averbis.textanalysis - numeric-value-typesystem version 4.1.0 is released. Learn to use numeric-value-typesystem version 4.1.0 in Maven based Java projects
Maven dependency for de.averbis.textanalysis - numeric-value-typesystem version 3.21.0 is released. Learn to use numeric-value-typesystem version 3.21.0 in Maven based Java projects
Maven dependency for de.averbis.textanalysis - numeric-value-typesystem version 4.2.0 is released. Learn to use numeric-value-typesystem version 4.2.0 in Maven based Java projects
Maven dependency for de.averbis.textanalysis - numeric-value-typesystem version 4.0.0 is released. Learn to use numeric-value-typesystem version 4.0.0 in Maven based Java projects
Maven dependency for de.averbis.textanalysis - numeric-value-typesystem version 3.21.0 is released. Learn to use numeric-value-typesystem version 3.21.0 in Maven based Java projects
The easy slider plug-in implementing with numeric boxes
how to get a numeric value from a message - JSP-Servlet
Date Class with multiple numeric parameter constructor
what is bit
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
What is procedure
what is hibernate.archive.autodetection
What is Hibernate
What is Hibernate
What is JDBC?
What is FBT
What is ActionServlet?
What is Trigger?
What is VLR ?
What's PHP ?
What is an interface?

Ads