Operators and Assignments
Home  Contents KMArticlesMembersSponsorsAbout us

ปรับปรุง : 2556-06-20 (ปรับ template)
ขอบซ้ายขอบบน
Operators and Assignments
ข้อมูลจาก : http://www.sun.com/training/catalog/courses/CX-310-035.xml
Section 5: Operators and Assignments
Determine the result of applying any operator (including assignment operators and instance of) to operands of any type class scope or accessibility or any combination of these.
Determine the result of applying the boolean equals (Object) method to objects of any combination of the classes java.lang.String, java.lang.Boolean and java.lang.Object.
In an expression involving the operators &, |, &&, || and variables of known values state which operands are evaluated and the value of the expression.
Determine the effect upon objects and primitive values of passing variables into methods and performing assignments or other modifying operations in that method.
Rule
http://www.janeg.ca/scjp/oper/conversions.html
- byte -> short -> int -> long -> float -> double
- char -> int -> long -> float -> double
- Reference Conversion

- convert from any class, interface or array reference to an Object reference
- convert from any class to any interface that it implements
- convert from any class, interface or array type to a null reference
- convert from any subinterface to any interface it extends
- from any array to type Cloneable or type java.io.Serializable
- from any array of references to an array of compatible reference types
- the above conversions never produce a runtime error or require special action
"Imagination is more important than knowledge" - Albert Einstein
Home
Thaiabc.com
Thainame.net
Lampang.net
Nation university
PHP
MySQL
Visual basic.NET
TabletPC
Linux
Online quiz
Download
Search engine
Web ranking
Add website
Blog : Education
Blog : ACLA
Blog : Lampang
Facebook.com
Twitter.com
About us
My dream
Site map
Sponsor
http://goo.gl/72BPC