How will you measure that int takes up only 32 bits in memory?

Answer Posted / sachin tyagi

by using random function which never generate value more
than 32 bits.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why java is call by value?

805


Can we define constructor in inner class?

780


What is the difference between access specifiers and access modifiers in java? 16

774


What are the two parts of a conditional statement?

746


Which is better arraylist or vector?

823


Explain about field hiding in java?

735


When do we use hashset over treeset?

789


Write java program to reverse string without using api?

778


What is meant by method overriding?

818


What does singleton mean in java?

752


What is a buffer in java?

810


Explain constructors and types of constructors in java.

851


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

789


when you will synchronize a piece of your code? : Java thread

776


Is null keyword in java?

748