wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Mock test question has got me stumped, help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Mock test question has got me stumped, help!" Watch "Mock test question has got me stumped, help!" New topic
Author

Mock test question has got me stumped, help!

Otto Deckelman
Ranch Hand

Joined: Mar 28, 2001
Posts: 30
Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.

Jim Bedenbaugh
Ranch Hand

Joined: Nov 09, 2001
Posts: 171

[ May 08, 2002: Message edited by: Jim Bedenbaugh ]

Regards,
Jim
SCJP, SCJD, SCWCD, SCEA Part I
Otto Deckelman
Ranch Hand

Joined: Mar 28, 2001
Posts: 30
Jim, thanks alot...I was close... LayoutManager layout = new LayoutManager(new GridLayout(2,3)); Sometimes the questions are misleading especially to a greenhorn!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mock test question has got me stumped, help!