Output writing for Data Type Size – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Solved Problem! #JAVA#3857    siteicon   siteicon  

Problem Statement - Output writing for Data Type Size

Data type size determination

TC++ #3857

Solution


Run Output

32
64
32
16
16
64
8

Since the SIZE field can be used only with the wrapper class version of primitive types the program has been written in the given way.

Common Errors

  • Care needs to be taken for Long type which needs a L suffix.


Suggested Filename(s): BooleanType.java



Share

sunmitra| Created: 20-Mar-2018 | Updated: 20-Mar-2018|






Back