wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Few Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Few Questions" Watch "Few Questions" New topic
Author

Few Questions

Sarva Pandian
Greenhorn

Joined: Sep 21, 2000
Posts: 17
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

Joined: Aug 11, 2000
Posts: 101
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


Thanks<br /> <br />Debanjana<br /> <br />SCJP2<br />SCEA
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Few Questions
 
Similar Threads
Few Questions
doubt on garbage collection
finalize() not only for GC eligible Objects?
Doubt on garbage collection
Garbage collection??