Win a copy of Functional Reactive Programming this week in the Other Languages 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: 1328
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