Is 'sizeof' a keyword?

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


Please Help Members By Posting Answers For Below Questions

How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

546


What is a default method?

511


What is the use of optional ?

556


What is io stream in java?

507


What is a locale?

683






Can you tell me range of byte?

551


What is difference between path and classpath?

550


What is natural ordering in java?

517


What is the purpose of object oriented programming?

526


Can we have try block without catch block?

576


When should I use singleton pattern?

534


What is mysql driver class name?

545


How we can execute any code even before main method?

545


What is the difference between yielding and sleeping?

546


Can memory leak in java?

572