Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website 😊
Still working on it 😊
Download Telegram
USE MY REFERAL CODE :- AMANREBZUH

Layoffs are going on in the tech industry.
📍 It indeed is the right time to buckle up and polish your tech skills.
📍 If you want to level up your coding skills .

Also , I came across this "Winter Interview Prep" Series by GeeksforGeeks for 7 days where you will learn about :

- Necessary tips and tricks for a Successful Job Interview.
- Do's and Don'ts in a Technical Interview.
- Approaching and explaining a problem-solution in a technical interview.
- Develop real-world Projects Live
- Data Science and ML Project Building from scratch
- What to do in recession?
- Being GATE ready!
- Why, How and What of Switching in companies
- Remote v/s in-Office Jobs
- Writing Clean and Efficient Codes during an Interview.

It is a course where you will get the chance to attend the live sessions from the industry
experts.

🔸Course starts from 18 DEC
🔸Do not wait! Just grab the offer NOW from link👇🏻

🟣 https://bit.ly/3HA4utN


USE MY REFERAL CODE :- AMANREBZUH
👍2
Java Hyd Team
CAN WE SCHEDULE ONE MASTERCLASS FOR EXCEPTION HANDLING THIS SUNDAY (END TO END )
Tomorrow i will upload one complete video on exception handling 😊 end to end will make you super good in exception handling
import java.util.Scanner;

public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.println("Enter first Date in dd/MM/yyyy format : ");
String firstDate = sc.next();

System.out.println("Enter second Date in dd/MM/yyyy format : ");
String secondDate = sc.next();

String[] fD = firstDate.split("/");
String[] sD = secondDate.split("/");

int day1 = Integer.parseInt(fD[0]);
int day2 = Integer.parseInt(sD[0]);

int month1 = Integer.parseInt(fD[1]);
int month2 = Integer.parseInt(sD[1]);

int year1 = Integer.parseInt(fD[2]);
int year2 = Integer.parseInt(sD[2]);

int days = day2 - day1;
int months = month2 - month1;
int years = year2 - year1;

if(days < 0)
{
days += 30;
months--;
}
if(months < 0)
{
months += 12;
years--;
}
System.out.println("Difference between two dates is : " + days + " days, " + months + " months, " + years + " years.");
}
}
👍1