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