• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ch1 q8 david book doubt

 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


can anyone explain me this code...

when i ran this code only Ted was displayed...where is Male? and what is Map.Entry?
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Male isn't in the parameters because the name attribute of the <input> tag is not set in that case. The correct code would be
 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh yes..my mistake...but what does Map.Entry mean?
 
Harpreet Singh janda
Ranch Hand
Posts: 317
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Map.Entry is a class which can be used to access the elements of Map.

Please look here for more detail.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic