SCJP Practice questions – 1

Share this Article :


1) addElement
________________________________________
Answer 57)
Objective 4.1)
The import statement allows you to use a class directly instead of fully qualifying it with the full package name, adding more classess with the import statement does not cause a runtime performance overhad. I assure you this is true. An inner class can be defined with the private modifier.
3) An inner class can be defined with the protected modifier
4) An interface cannot be instantiated
________________________________________
Answer 58)
Objective 4.6)
1) mousePressed(MouseEvent e){}
4) componentAdded(ContainerEvent e){}
________________________________________
Answer 59)
Objective 10.1)
1) iterator
2) isEmpty
3) toArray
________________________________________
Answer 60)
Objective 7.3)
2) 2) Ensures only one thread at a time may access a method or object

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Written by bhaskar

{bhaskar has written 11 posts on ITTreats.com . See all posts by }


Leave a Reply