Interview Questions - Advanced Java
169.
What is the difference between a Scrollbar and a ScrollPane?
A Scrollbar is a Component, but not a Container. A ScrollPane is a Container.
A ScrollPane handles its own events and performs its own scrolling.
170.
What is the difference between a public and a non-public class?
A public class may be accessed outside of its package.
A non-public class may not be accessed outside of its package.
171.
To what value is a variable of the boolean type automatically initialized?
The default value of the boolean type is false.
172.
Can try statements be nested?
Try statements may be tested.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers