What does sizeof return?
Answer / Satyaprakash Singh
In Java, there is no 'sizeof' operator. Instead, you can determine the size of an array or object at runtime using methods like Array.length for arrays and getClass().getDeclaredFields() for objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Name few java util classes introduced with java 8 ?
Can we use different return types for methods when overridden?
What is the difference between Grid and Gridbaglayout?
What is left shift and right shift?
Why should we use java?
State differences between C and Java?
1 Answers Deloitte, JPMorgan Chase,
What are different types of control structures?
What are advantages and disadvantages of OOPs?
Is java a virus?
What is meant by overloading?
Why to give the file name same as the public class name in java?
How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.