Answer Posted / interviewall
The Keywords used in Java for getting the size of a string
or an array is either String.length() or size(), which
returns a Integer.
sizeOf() is not a keyword!
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
What is the maximum size of list in java?
What do you mean by local variable and instance variable?
Define interface in java?
Give a brief description of java socket programming?
what is use of functional interface in java 8?
What are the 4 versions of java?
List out five keywords related to exception handling ?
What is length in java?
What do you know about the garbage collector?
Is namespace same as package in java?
What is purpose of keyword void?
What is operator overloading. Is it is supported in java?
How do you pass by reference?
What is the concept of multithreading?
What is the purpose of a transient variable?