Fundamental Object-Oriented Concepts
In Java, a narrowing conversion is also known as an explicit type conversion or casting.
A byte can represent values between -128 to 127.
An array, in Java, is an ordered collection of primitives, object references, or other arrays. All the elements of an array must be of the same type, except in case of polymorphism.
Array elements are initialized to default values, wherever they are created.
The increment operator can be used in either of the two forms given below:
Numeric promotions are used to convert the operands in a numeric expression to a common type before an operation is performed between the operands.
In Java, there are two kinds of numeric promotions as follows:
- Prefix form: In the prefix form, it appears before the operand. For example, ++a;
- Postfix form: In the postfix form, it appears after the operand. For example, a ++;
- Unary numeric promotion
- Binary numeric promotion
Pass SCJA Certification Java 1.2 in a first attempt:
Q. What are the prerequisites for the SCJA exam?
A. There is no prerequisite for the SCJA exam. However, you must be well experienced with the language before you take the exam. Even if you are new to the Java field, you can still pass the exam with self-study.
Q. What are the exam objectives?