本文介绍了如何确定一组字符串是否是java中的字方块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我输入像bard,area,rear和dart这样的字符串 - 程序应该显示它是一个单词square



我尝试了什么:



我尝试了charAt()函数,但我无法完全理解该怎么做

if I input strings like bard, area, rear, and dart - the program should show that it is a word square

What I have tried:

I tried the charAt() function but I can't fully understand what to do

推荐答案


这篇关于如何确定一组字符串是否是java中的字方块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 07:34