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
Possibly in morning sessions only
For frontend try to learn JSP or Angular. If you want free check the notes links. If you want to pay check out udemy.com. https://drive.google.com/drive/folders/1aeAAl5C-HdkXzQMxLjpbkbNuCdytAsdW
Whatever updated here is free to learn
It can be from any institute
Java Hyd Team pinned ยซhttps://t.me/teamJavaHydยป
Java Hyd Team
Updated 25 interview questions for now from array ๐Ÿ˜Š must prepare
Along with 25 array interview questions i have updated 20 array programs with all possible solutions
package com.Aman;
import java.util.Scanner;
public class Passsenger {
private String name;
private int Age;
private int SeatNo;
private String Pnr;
private long IdNo;

//getter methods
public String getName(){return this.name;}
public int getAge(){return this.Age;}
public int getSeatNo(){return this.SeatNo;}
public String getPnr(){return this.Pnr;}
public long getIdNo(){return this.IdNo;}

//setter methods

public void setName(String name){this.name = name;}
public void setAge(int age){this.Age = age;}
public void setSeatNo(int seatNo){this.SeatNo = seatNo;}
public void setPnr(String pnr){this.Pnr = pnr;}
public void setIdNo(long idNo){this.IdNo = idNo;}

//main method
public static void main(String[] args) {
// write your code here
Scanner x = new Scanner(System.in);
Passsenger Sai = new Passsenger();
//classname variable /refernce variable for object = new (for memory allocation) classname();
System.out.println("share your name");
String A =x.next();
System.out.println("share your age");
int B = x.nextInt();
System.out.println("your seat number ");
int C = x.nextInt();
System.out.println("your pnr number");
String D =x.next();
System.out.println("your ID number");
long E = x.nextLong();
//setter method calling
Sai.setName(A);
Sai.setAge(B);
Sai.setSeatNo(C);
Sai.setPnr(D);
Sai.setIdNo(E);
//getter method calling
String name = Sai.getName();{
System.out.println("Name : "+name);
}
int Age = Sai.getAge();{
System.out.println("Age : "+Age);
}
int SeatNo = Sai.getSeatNo();{
System.out.println("SeatNo : "+SeatNo);
}
String pnr = Sai.getPnr();{
System.out.println("PNR no. : "+pnr);
}
long idno = Sai.getIdNo();{
System.out.println("ID No. : "+idno);
}
}
}
How do you find the missing number in a given integer array of 1 to 100?
Output
Missing numbers in integer array [1, 2, 3, 4, 6], with total number 6 is
5
Missing numbers in integer array [1, 2, 3, 4, 6, 7, 9, 8, 10], with total number 10 is
5
Missing numbers in integer array [1, 2, 3, 4, 6, 9, 8], with total number 10 is
5
7
10
Missing numbers in integer array [1, 2, 3, 4, 9, 8], with total number 10 is
5
6
7
10
Missing number in array [1, 2, 3, 5] is 4
Write down code for this