Java: String in Tamil -17 -First Non repeated Char Program -தமிழில் ஜாவா -Payilagam -Muthuramalingam

  Рет қаралды 18,233

Payilagam

Payilagam

Күн бұрын

Пікірлер: 10
@ManiKandan-vo2qr
@ManiKandan-vo2qr 4 жыл бұрын
Sir ,This program logic is not working when we have a string like "aabbjgghh" . Because when i =1 and iteration continues , again character ''a' will be unique .
@wolf_gamer_100
@wolf_gamer_100 6 ай бұрын
Compare two strings sir
@ManiKandan-vo2qr
@ManiKandan-vo2qr 4 жыл бұрын
Hello sir can you please upload the same program for the integers ? First non repetitive numbers?
@vijayv5459
@vijayv5459 Жыл бұрын
intha program la verum first letter matum tha compare pandranga.... matha letters compare agala..... "welcome " potu patha 'w' matum tha compare aguthu.... could you please correct this program sir..
@indiantourism975
@indiantourism975 4 жыл бұрын
Thank you Sir
@LeoEditx
@LeoEditx 2 жыл бұрын
String la == use pannakudathunu solringa apram y inga use panringa
@aleishavijay4811
@aleishavijay4811 2 жыл бұрын
adhu character a compare panranga. not string
@Manikandan-yd6vf
@Manikandan-yd6vf 4 жыл бұрын
Hai sir...I'm learning java from ur channel ..it is possible to post some videos on java swing concept
@maheshwaranboomibalan9912
@maheshwaranboomibalan9912 2 жыл бұрын
public class FirstNonRepeatedChar { public static void main(String arg[]) { System.out.println("main method"); String str = "khabcahbcde"; int length = str.length(); for (int i = 0; i < length; i++) { // pass the string boolean isRepeated = false; for (int j = 0; j < length; j++) { // check first non reperated char if(str.charAt(i) == str.charAt(j) && i != j) { isRepeated = true; break; } } if(!isRepeated) { System.out.println(str.charAt(i) + " is not repeated"); break; } } } }
@kesavanakkil6250
@kesavanakkil6250 4 жыл бұрын
Hi
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,6 МЛН