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 will you initialize an Applet?
What is the purpose of file class?
Explain some best practices you would apply while using collection in java?
What is memory leak and how does java handle it?
Write a program in java to create a doubly linked list containing n nodes.
Explain the importance of thread scheduler in java?
What does java ide mean?
What is meant by method overriding?
Explain inner classes ?
Can a class have 2 constructors?
What is meant by 'Class access modifiers'?
What are runtime exceptions?
Why are lists ordered in java?
What are the disadvantages of object oriented programming?
What is the list interface?