I don't know why I am getting this error in Android Studio, this is quite a simple command that I am executing. The code is provided below. Any help is greatly appreciated. I am getting the error in the last line of code.
String[] sadThought = {"a", "sad", "Thought"};
String[] sadRandom ={(sadThought[new Random().nextInt(sadThought.length)])};
TvSad.setText(sadRandom);