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
can rmi and corba based applications interact ?
What is the use of string and stringbuffer?
How do you use compareto in java?
What are the types of strings?
Can we extend immutable class?
What are the different types of multitasking?
What happens if we override private method?
Name few java util classes introduced with java 8 ?
How do I get a substring?
Name few java.lang classes introduced with java 8 ?
How to sort an array in java without using sort method?
What is runtime polymorphism or dynamic method dispatch?
What is dynamic array in java?
what is singleton class in java?
What is default switch case? Give example.