This is the complete list of java key words. There are some others important tips for keyword are as follows:
> Keywords use letters only; they do not use special characters (such as $, _, etc.) or digits.
> All keywords are in all lowercase letters.
> Watch out for keywords that are from languages other than Java, such as friend, include, and unsigned, which are not keywords in Java.
> The words goto and const are reserved to the extent that programmers cannot use them, but they have no specific meaning in the Java language.
We've to remember those rules for this kind of questions:
Which are valid declarations? (Choose all that apply.)
A. int $x;
B. int 123;
C. int _123;
D. int #dim;
E. int %percent;
F. int *divide;
G. int central_sales_region_Summer_2005_gross_sales;
Java Design Pattern - Creation Pattern
16 years ago
No comments:
Post a Comment