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
import java.util.Scanner;
class ReverseWords
{
static void reverseWords(String str)
{


String[] arr = str.split("\\s");


for (int i = arr.length-1; i >= 0; i--)
{
System.out.print(arr[i] + " ");
}
}


public static void main(String[] args)
{
String str = "i like this program very much";
reverseWords(str);
}
}
public class RemoveDuplicates {

public static void main(String[] args)

{

String str = "Sathya";

int l = str.length();

int k = 0;

char[] temp = new char[l];

boolean[] hit = new boolean[256];

for (int i = 0; i < l; i++) {

char ch = str.charAt(i);

if (!hit[ch]) {

hit[ch] = true;

temp[k++] = ch;

}

}

String res = new String(temp, 0, k);

System.out.println(res);

}

}
//Write a java program accept date of birth from scanner and check eligible for vote ?


import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.print("Enter date of birth in format dd/mm/yyyy : ");
String dob = sc.nextLine();
String[] dobArray = dob.split("/");
int day = Integer.parseInt(dobArray[0]);
int month = Integer.parseInt(dobArray[1]);
int year = Integer.parseInt(dobArray[2]);
if(year < 1950)
{
System.out.println("You are not eligible for vote.");
}
else if(year == 1950 && month < 1)
{
System.out.println("You are not eligible for vote.");
}
else if(year == 1950 && month == 1 && day <18)
{
System.out.println("You are not eligible for vote.");
}
else
{
System.out.println("You are eligible for vote.");
}
}
}
Java bean class 😊
Configuration file (.XML file )
Setter injection
Test class
Constructor injection
Sony is Hiring Machine learning Intern
Role - Machine learning Intern
Experience: Student/fresher
Salary - 40k - 50k per month
Passout year - 2024,2023 ,2022
Qualification: Btech/BE/Mtech/MCA
Location: Work from home


Apply now: https://www.linkedin.com/jobs/view/3352394311