• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is nill?  RSS feed

 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just want to know what is nill? is it the same as null? Thanks.
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nelson Nadal:
Just want to know what is nill? is it the same as null? Thanks.


Can you give us some context? Where did you hear / see "nill" used?

Henry
 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the part of the code from a book titled Web Development:Using Struts by instantCode

 
Vijitha Kumara
Bartender
Posts: 4001
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

if(category.equals("nill") && keyWord.length()<3)


here it uses String value "nill" to check the category (declared as String) might contain the String value "nill".
 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot, i thought this a new reserved keyword.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!