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
Explain about anonymous inner classes ?
What are structs in java?
How do you convert an int to a double in java?
What is an interface in java?
What happens if an exception is throws from an object's destructor?
Can a list be null in java?
Define an enumeration?
What is the parse method in java?
Why are getters and setters used?
What is string in java with example?
What is the purpose of a default constructor?
How variables are stored in memory?
What is an object’s lock and which object’s have locks?
Explain when classnotfoundexception will be raised ?
What is executor memory?