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
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is a default method?
What is the use of optional ?
What is io stream in java?
What is a locale?
Can you tell me range of byte?
What is difference between path and classpath?
What is natural ordering in java?
What is the purpose of object oriented programming?
Can we have try block without catch block?
When should I use singleton pattern?
What is mysql driver class name?
How we can execute any code even before main method?
What is the difference between yielding and sleeping?
Can memory leak in java?