aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Mock test question has got me stumped, help!
 
Similar Threads
Exam Topics
Swing Components
Which part of Java is sexy for you?
Regarding J2EE
LightWightComponents