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
Please check your mail exams rescheduled as promised
//Write a java program to find palindrome in a given paragraph and create substring of the palindrome

public class PalindromeFinder {
static boolean isPalindrome(String str)
{
// Pointers pointing to the beginning
// and the end of the string
int i = 0, j = str.length() - 1;

// While there are characters toc compare
while (i < j) {

// If there is a mismatch
if (str.charAt(i) != str.charAt(j))
return false;

// Increment first pointer and
// decrement the other
i++;
j--;
}

// Given string is a palindrome
return true;
}

// Driver code
public static void main(String[] args)
{
String str = "This is a paragraph with a palindrome in it; racecar. malayalam print amam 12121 ";
String[] words = str.split(" ");
int len = words.length;
//String[] palindrome = new String[len];
for (int i = 0; i < len; i++) {
if (isPalindrome(words[i])) {
System.out.println("Palindrome found: " + words[i]);
//palindrome[i] = words[i];
}
}
/*
System.out.println("The palindrome in this sentence are:");
for (int i = 0; i < palindrome.length; i++) {
if (palindrome[i] != null) {
System.out.println(palindrome[i]);
}
}
*/
}
}
👍1
Forwarded from SathyaReact
You can now connect with us on linkedin we will soon list our connections for better opportunity
will update the video by late night today complete exception handling end to end