// qdeOfPersonalDetails() method is used for assigning personal details of customer public void qdeOfPersonalDetails() throws IOException, JavaLayerException { System.out.println( "----------------------------------------------------------------------------------------"); System.out.print("\nSTEP - 2"); System.out.println(" Enter customer's personal details :\n"); textToSpeech.speak("Enter customer's personal details"); System.out.println("\nStatus :\n1- Married\n2- Unmarried\n > "); textToSpeech.speak("Married or unmarried"); status = getter.statusGetter(); if ("female".equalsIgnoreCase(gender) && "married".equalsIgnoreCase(status)) { System.out.println("Husband's name : "); textToSpeech.speak("enter husband's name"); husbandName = getter.fatherOrHusbandNameGetter(); } else { System.out.println("Father's name : "); textToSpeech.speak("enter father's name"); fatherName = getter.fatherOrHusbandNameGetter(); } System.out.println("Nationality :\n1- Indian\n2- Other\n > "); textToSpeech.speak("enter nationality"); nationality = getter.nationalityGetter(); System.out.println("Current address : "); textToSpeech.speak("enter current address"); currentAddress = getter.addressGetter(); System.out.println("PAN : "); textToSpeech.speak("enter personal account number"); pan = getter.panGetter(lastName); System.out.println("Number of family members : "); textToSpeech.speak("enter number of family members"); noOfFamilyMembers = getter.noOfFamilyMembersGetter(); System.out.println( "Qualification :\n1- Nothing\n2- Matrics\n3- Intermediate\n4- Graduate\n4- Postgraduate\n5- Others\n > "); textToSpeech.speak("enter qualification"); qualification = getter.qualificationGetter(); if (!("NOTHING".equals(qualification))) { System.out.println("Year of qualification : "); textToSpeech.speak("enter year of qualification"); qualification = getter.qualificationYearGetter(); } }