CODE WITH VIRUS
Открыть в Telegram
1 278
Подписчики
Нет данных24 часа
Нет данных7 дней
Нет данных30 дней
Архив постов
1 278
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
class Register {
public Register() {
super();
}
public void checkCredentials(String email, String pass, String cpass) throws Exception {
if(email.contains("@")==false || email.contains(".")==false) {
System.out.println(new InvalidEmailException("Invalid Email"));
}
else if(pass.length()<6) {
System.out.println(new InvalidPasswordException("Invalid Password"));
}
else if(cpass!=pass) {
System.out.println(new PasswordNotMatchException("Password not match"));
}
else {
System.out.println("Registered");
}
}
}
class InvalidEmailException extends Exception {
private static final long serialVersionUID = 1L;
public InvalidEmailException(String message) {
super(message);
}
}
class InvalidPasswordException extends Exception {
private static final long serialVersionUID = 1L;
public InvalidPasswordException(String message) {
super(message);
}
}
class PasswordNotMatchException extends Exception {
private static final long serialVersionUID = 1L;
public PasswordNotMatchException(String message) {
super(message);
}
}
class Source {
public static void main(String[] args) throws Exception {
Register user = new Register();
user.checkCredentials("tushar@gmailcom","hiiiiii","hiiiiii");
}
}
User register validation code
Telegram:- ✅Share @coding_solution
1 278
Anyone want to earn 🤑 money daily?
500 -1000₹ per day
Interested students can message👇 @anu_priya786
1 278
Company - Accenture
Role - associate content management
Salary - 5.5 LPA
Batch - 2023/22/21/20/19/18
Qualification - ANY bachelors degree /masters degree
📌APPLY HERE - https://jssc.in/accenture-recruitment-2022-check-more-associate-content-management-job-location-hyderabad/
Join Telegram - https://t.me/coding_solution
1 278
Atos Syntel hiring 2023 Batch
Apply link given 👇👇
https://tests.mettl.com/drive/Syntellect-2023-BE-MCA-Candidate-Registration-Form/
Apply soon 🔜
1 278
🏖️OPTUM off campus ✅GOLDEN JOB OPPORTUNITY FOR 2023,2022,2022 BATCH
10 LPA
4 LOCATIONS ✅
Chennai https://careers.unitedhealthgroup.com/job/17037955/software-engineer-chennai-in/
Bangalore https://careers.unitedhealthgroup.com/job/16983588/software-engineer-bangalore-ka-bangalore-in/
Hyderabad https://careers.unitedhealthgroup.com/job/16928568/software-engineer-hyderabad-tg-hyderabad-in/
Gurgaon https://careers.unitedhealthgroup.com/job/16928562/software-engineer-gurgaon-hr-gurgaon-in/
