Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
public
class
ObjectEquals
{
public
static
void
main
(
String
[
]
args
)
{
Student st
=
new
Student
(
)
;
Student st2
=
st
;
System
.
out
.
println
(
st
==
st2
)
;
System
.
out
.
println
(
st.
equals
(
st2
)
)
;
}
}
class
Student
{
}