Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 544 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 VjmhGB
Related Questions
Core Java : What is the difference between a static and a non-static inner class?

What is the difference between a static and a non-static inner class?

A non-static inner class may have object instances that are associated with instances of the class's....
Category: Core Java Date: 11/4/2010 5:42:53 AM
Core Java : What is the difference between declasspath and path?

What is the difference between declasspath and path?

Classpath is the path that Java looks for loading class at run time and compile time . The path is a....
Category: Core Java Date: 11/4/2010 5:10:51 AM
Core Java : What invokes a thread's run() method?

What invokes a thread's run() method?

The JVM invokes the thread's run() method when the thread is initially executed and that after start....
Category: Core Java Date: 11/4/2010 4:05:49 AM
Core Java : Which non-Unicode letter characters may be used as the first character  of an identifier?

Which non-Unicode letter characters may be used as the first character of an identifier?

The non-Unicode letter characters $ and _ may appear as the first character of an identifier
Category: Core Java Date: 11/4/2010 3:20:54 AM
Core Java : Is null a keyword?

Is null a keyword?

The null value is not a keyword.
Category: Core Java Date: 11/4/2010 2:48:52 AM
 
Find Best Deals @