Write a Java program using the methods of the class JOptionPane to read a string containing an e-mail address. The string must begin as “My e-mail address is ” and be followed by an e-mail address. Extract the e-mail address from the string using methods of the class Scanner, and display it using the methods of the class JOptionPane. Demonstrate that only [email protected] is extracted from the string “My e-mail address is [email protected]”.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here