+ 1

What is Difference between Length & length()?(in java)

where i can use length & length()

15th Jul 2018, 12:29 PM
Sukhbir Singh Khalsa
Sukhbir Singh  Khalsa - avatar
4 Respostas
0
Please post a link to the code in question. While () makes it clear it's a method, "length" may be other things: a badly-named class, an object, a primitive. As to usage, that's impossible without seeing the source.
15th Jul 2018, 1:32 PM
non
0
length what it return Tsering ??
15th Jul 2018, 4:34 PM
Sukhbir Singh Khalsa
Sukhbir Singh  Khalsa - avatar
0
i don't have source code nonzyro
15th Jul 2018, 4:35 PM
Sukhbir Singh Khalsa
Sukhbir Singh  Khalsa - avatar
0
Then where are you getting length and length() from? Quote the book or study note or whatever.
15th Jul 2018, 11:38 PM
non