Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
inspection
/
redundantCast
/
DifferentFields
/
src
/
Test.java
blob: df25a830ee47dc8cb51b059b7e85736e92a212ae [
file
] [
log
] [
blame
]
class
Y
{
int
size
=
4
;
}
class
Z
extends
Y
{
int
size
=
5
;
public
static
void
main
(
String
[]
args
)
{
Z z
=
new
Z
();
System
.
out
.
println
(
"z.size = "
+
((
Y
)
z
).
size
);
}
}