How to find index of STRING array in Java from a given value?
I wanted to know if there’s a native method in array for Java to get the index of the table for a given value ? Let’s say my table contains these strings : public static final String[] TYPES = { “Sedan”, “Compact”, “Roadster”, “Minivan”, “SUV”, “Convertible”, “Cargo”, “Others” }; Let’s say the user has to … Read more