This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes remember those default value or status. 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 "remember those default value or status." Watch "remember those default value or status." New topic
Author

remember those default value or status.

Guoqiao Sun
Ranch Hand

Joined: Jul 18, 2001
Posts: 317
Hi, all, there are some default value or status that we should remember for the exam, some of them are:
<code>
01. Default capacity for StringBuffer is 16.
02. Default visible rows for java.awt.List is 4.
03. Default multiple selection for java.awt.List is not allowed.
04. Default scrollbar visibility for java.awt.TextArea is SCROLLBARS_BOTH.
05. Default alignment for FlowLayout is FlowLayout.CENTER.
06. Default horizontalGap and verticalGap for FlowLayout is 5 and 5.
07. Default alignment for BorderLayout is BorderLayout.CENTER.
08. Default horizontalGap and verticalGap for BorderLayout is 0 and 0.
09. Default size for Vector is 10.
10. Default standard capacity increment for Vector is zero.
11. Default LayoutManager for Applet and Panel is FlowLayout.
12. Default LayoutManager for Window, Frame and Dialog is Borderlayout.
13. Default direction for java.awt.ScrollBar is vertical.
14. Default alignment for java.awt.Label is Label.LEFT.
</code>

What else, please add on and share.
Guoqiao
[This message has been edited by Guoqiao Sun (edited August 27, 2001).]


Guoqiao Sun<br />SCJP2 SCWCD2<br />Creator of <a href="http://www.jiris.com/" target="_blank" rel="nofollow">www.jiris.com</a>, Java resource, mock exam, forum
Karma Police
Greenhorn

Joined: Aug 23, 2001
Posts: 11
O,that's helpful to me.
Good boy!
Originally posted by Guoqiao Sun:
Hi, all, there are some default value or status that we should remember for the exam, some of them are:
<code>
01. Default capacity for StringBuffer is 16.
02. Default visible rows for java.awt.List is 4.
03. Default multiple selection for java.awt.List is not allowed.
04. Default scrollbar visibility for java.awt.TextArea is SCROLLBARS_BOTH.
05. Default alignment for FlowLayout is FlowLayout.CENTER.
06. Default horizontalGap and verticalGap for FlowLayout is 5 and 5.
07. Default alignment for BorderLayout is BorderLayout.CENTER.
08. Default horizontalGap and verticalGap for BorderLayout is 0 and 0.
09. Default size for Vector is 10.
10. Default standard capacity increment for Vector is zero.
11. Default LayoutManager for Applet and Panel is FlowLayout.
12. Default LayoutManager for Window, Frame and Dialog is Borderlayout.
13. Default direction for java.awt.ScrollBar is vertical.
14. Default alignment for java.awt.Label is Label.LEFT.
</code>

What else, please add on and share.
Guoqiao
[This message has been edited by Guoqiao Sun (edited August 27, 2001).]


------------------
Java Lover From Hell!


Java Lover From Hell!
Muhammad Farooq
Ranch Hand

Joined: May 08, 2001
Posts: 356
Thanks Guoqiao, It must be real help.
--Farooq


Muhammad Farooq<br />Sun Certified Programmer for Java 2 Platform<br />Oracle8i Certified Professional Database Administrator
 
 
subject: remember those default value or status.
 
Similar Threads
ListCellRenderer!!!Help!!
Bit wise not and 2's complement
explain the code
about instanceof .
Exception