Suppose, I have a **String** named **dogsStatus**.

```
String dogsStatus = "Dogs are running";

```

I have also an **Array** named **dogsChoice**.

```
ArrayList<String> dogsChoice = new ArrayList<>();
dogsChoice.add("barking");
dogsChoice.add("running");
dogsChoice.add("eating");

```

Now, I want to setup a **SWITCH-CASE** with the **String dogsStatus** .

So please see the code if it is ever possible or not:-

```
switch(dogsStatus){
       case "Dogs are" + dogsChoice:
       //Do something
         }

```

If it is not possible then is there any way to compare a String with an array's any value? Not any specific one...