Give the code to get output shown above. Have the code in JAVA

Question Answered step-by-step Give the code to get output shown above. Have the code in JAVA Image transcription textCreate a file named Test1.java. In this file, create a program that prompts the user to enter a double for thebalance of their bank account, as well as a boolean asking whether to display their status. If the user does notwish to display their status, display Your status will not be displayed. . If the user wishes to display… Show more… Show moreGive the code to get output shown above.Have the code in JAVA Computer Science Engineering & Technology Java Programming CSCI 1301 Share QuestionEmailCopy link Comments (0)