Java tutorial
//package com.java2s; import java.util.ArrayList; public class Main { public static void setBloodGroupSpinnerData(ArrayList<String> arr_bloodGroup) { arr_bloodGroup.add("Blood Group:"); arr_bloodGroup.add("A+"); arr_bloodGroup.add("A-"); arr_bloodGroup.add("B+"); arr_bloodGroup.add("B-"); arr_bloodGroup.add("O+"); arr_bloodGroup.add("O-"); arr_bloodGroup.add("AB+"); arr_bloodGroup.add("AB-"); } }