2014-09-01 10:54:33 -04:00
|
|
|
package pkg;
|
|
|
|
|
|
|
|
class TestCodeConstructs {
|
|
|
|
private int count = 0;
|
|
|
|
|
|
|
|
void expressions() {
|
|
|
|
(new String()).hashCode();
|
|
|
|
}
|
|
|
|
|
2014-09-07 08:44:22 -04:00
|
|
|
Integer fieldIncrement() {
|
|
|
|
return new Integer(this.count++);
|
2014-09-01 10:54:33 -04:00
|
|
|
}
|
|
|
|
}
|