Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Few Questions

 
Sarva Pandian
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Can we say that a correct program need not be checked for garbage collection ?
2.Can we say that garbage collection mechanism helps in preventing outofmemory error when we execute a program ?
3. What is the argument type for keyListener method ?.
Can anyone help me with the answers!!
Thanx in advance
Sarva
 
Debanjana Dasgupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Answers
1. Can we say that a correct program need not be checked for garbage collection ?--NO
2.Can we say that garbage collection mechanism helps in preventing outofmemory error when we execute a program ? --NO
3. What is the argument type for keyListener method ?. KeyEvent
Debanjana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic