Can Java return be written like this?

CSDN Q & A 2022-02-13 06:19:05 阅读数:715

java return written

Constructed a method
public String show(){return “ I think ”;}




Take the answer :

Sure



Other answers 2:

No cat cake


Other answers 3:

Sure


Other answers 4:

No problem Buddy


Other answers 5:

No Maotai

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130619036566.html