Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 901 Page Views: 

What is numeric promotion?



Posted By: Avi Date: 5 November 2010 01:20:55 AM
 Answer:

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are converted to int values. The int values are also converted to long values, if necessary. The long and float values are converted to double values, as required.


Posted By: avibtech


Date: 5 November 2010 01:20:55 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image kJjKOU
Related Questions
Core Java : What is multi-threading?

What is multi-threading?

Multi-threading is more than one thread are running.
Category: Core Java Date: 11/5/2010 3:53:50 AM
Core Java : What is the difference between the JDK 1.02 event model and the event-delegation  model introduced with JDK 1.1?

What is the difference between the JDK 1.02 event model and the event-delegation model introduced w....

The JDK 1.02 event model uses an event inheritance or bubbling approach. In this model, components a....
Category: Core Java Date: 11/5/2010 3:09:54 AM
Core Java : Why do we use finalization?

Why do we use finalization?

We use finalization to give an unreachable object the opportunity to perform any cleanup processing ....
Category: Core Java Date: 11/5/2010 2:48:48 AM
Core Java : What is a compilation unit?

What is a compilation unit?

A compilation unit is a Java source code file.
Category: Core Java Date: 11/5/2010 2:48:47 AM
Core Java : How are this and super used?

How are this and super used?

this is used to refer to the current object instance. super is used to refer to the variables and me....
Category: Core Java Date: 11/5/2010 2:15:46 AM