I'm working on a school project in eclipse, and when I try and use the isEmpty()
method on a String
, Eclipse shows up the following error:
The method isEmpty() is undefined for the type String
I've run the Java updates, but am still getting it. Is any reason why this method would be undefined?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…