Loading...
Give the output of the following String class methods:
Define a class to accept the gmail id and check for its validity. A gmail id is valid only if it has: → @ → . (dot) → gmail → com Example: icse2024@gmail.com is a valid gmail id.
© 2026 PadhAiPro. This question is provided for educational purposes.