Core Java - Interview Questions and Answers for 'Short vs int' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Short vs int' - 1 question(s) found - Order By Newest

 Q1. Difference between int and short data types ?Core Java2017-03-24 09:15:23

Ans. Both holds numeric values. short is a 16-bit signed two's complement integer whereas int is a 32-bit signed two's complement integer.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     data types  short vs int


Related Questions

  What is casting?
  What are the Wrapper classes available for primitive types ?
  What are wrapper classes ?
  What is Generalization and Specialization in terms of casting ?
 Why Java is not considered pure OOP's language ?
  Which data types are supported by JSON ?
  What are the default or implicitly assigned values for data types in java ?
  What is the difference between float and double?
 How do you prefer to store money values in your application ?
  Difference between long.Class and Long.TYPE ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: