Is 'sizeof' a keyword?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
No "sizeof" is not a keyword in the Java Programming Language
| Is This Answer Correct ? | 27 Yes | 2 No |
Answer / 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 |
Answer / dany
sizeof is not a keyword in java it is an operator.
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / ravikiran(aptech mumbai)
No it's an unused reserved word
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / vinod
it is a method can be used to find the size of Collection
objects
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / usama
no its command thats return the number of the bytes
forinstance and its mostlly used in arrays ..i hope u can
find out more (but for more its reserved in side c so in
fact its keyward or command when u write it you will see
the color blue which means thats reserved keyward) i hope
its can help ..
| Is This Answer Correct ? | 2 Yes | 5 No |
Name the types of 'priority'?
Why is it called buffering?
What are synchronized methods ?
What is java used for on a computer?
If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
Which class has no duplicate elements?
What are the rules for naming an array?
How do you replace a string in java?
What are locale settings?
Why we override equals() method?
How is treeset implemented in java?
What are the two categories of data types in the java programming language?