This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

non-generic ArrayList output

 
kaushal narra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


 
Himai Minh
Ranch Hand
Posts: 1226
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
p has name "jane" and age "40. Then p is set to "wong" and "43" in line 69-40.
p1 has name = null and age = 0 in line 68.
p1's variables are never set.
 
kaushal narra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you , Himai Minh . It was my typing mistake. Assuming that i have set p1 and wondering why i was getting null values.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic