Computer Science, asked by gurpreet09695, 6 months ago

what is the length of null string?​

Answers

Answered by Anonymous
4

Answer:

null is the value of reference variable. but empty string is blank.it gives the length=0 . empty string is a blank value,means the string does not have any thing. no method can be invoked on a object which is assigned a null value

Answered by shristisingh8051
2

Answer:

Null is a value of reference variable.

But empty string is blank. It gives the length = 0.

Empty string is a blank value, means the string does not have any thing.

No method can be invoked on a subject which is assigned a NULL value.

The string is terminated by the null character. The string of null help programmers to determine the length of a strings.

I hope it will help you..

Similar questions