public
【资料图】
class
Xiaomi13
{
private
String
processor
;
public
Xiaomi13
;">)
{
this
.
processor
=
"骁龙8gen2"
;
}
public
String
getProcessor
;">)
{
return
processor
;
}
public
void
setProcessor
;">String
processor
)
{
this
.
processor
=
processor
;
}
}
public
class
Main
{
public
static
void
main
;">String
[
]
args
)
{
Xiaomi13
xiaomi13
=
new
Xiaomi13
;">)
;
System
.
out
.
println
;">"小米13处理器是:"
+
xiaomi13
.
getProcessor
;">)
)
;
}
}
关键词: