Learn from Leaders, Learn from ABC. Watch our latest technical videos in your language: For Hindi:- bit.ly/2TRuGVP For Kannada:- bit.ly/31NH63M For Telugu:- bit.ly/2MuYRRP For Tamil:- bit.ly/2Num5Hz
@sidharthmandal99574 жыл бұрын
For those who have been trying to convert to lowercase will get a problem, arrays index out of bound....try to convert it into upper case, as the logic says.....y[i]-65..... as 65 is the Ascii value of A.....Thank you
@manjuch48845 жыл бұрын
Because of your teaching only I got interest on coding sir ... Tq soo much
@surbhitamrakar16384 жыл бұрын
The way you teaches is really great sir.I request you to make videos on data structures it would become easier from your teaching.
@abdullahrafi24964 жыл бұрын
Without any hesitation 10/10
@venkateshvenkatesh-xg5cq5 жыл бұрын
sachin is god of cricket.you are god of teaching sir.please make videos on c and c++ programming language
@varshamehra81645 жыл бұрын
Sir.. Thank you so much for so nice expalaination. U and your teaching style is great. And what I like the most is your energy and enthusiasm when you teach :)
@TheMemeCat15 жыл бұрын
Very high quality editing.. im amazed. Which software you use?
@Justin-he4rd4 жыл бұрын
Epic music, great job explaining, awesome editing, straight to the point! 10/10 !
@qa35962 жыл бұрын
Very well explanation sir and ur way to teach is very good
@varshamehra81645 жыл бұрын
Sir, please make videos on Dynamic programing and Graph algos....
@sourabhparalkar15835 жыл бұрын
Hello sir, Instead of taking array I took following approach, would you please let me know whether this is ideal approach or not.. public boolean isPangram(String string) { string.replace(" ",""); char y[] = string.toCharArray(); for(char i='A'; i
@ABCforTechnologyTraining5 жыл бұрын
Hi Sourabh, We are glad to see a different approach. It would be more ideal with the following changes implemented in the code: 1. Firstly, after replacing the spaces in the input String, the replace() method would return a new String object without spaces. This newly obtained String object should be reassigned to the String reference variable. Since Strings are immutable in Java. string = string.replace(" ","");
@vinaykumargm72595 жыл бұрын
Hai sir !! Plz explain about System.exit(0) System.exit(-1) System.exit(1)
@Hampirathna5 жыл бұрын
Exit(0) is successful termination from the program Whereas exit(1) is forcefully terminated by programmer
@ramyach1374 жыл бұрын
nice teaching with good presentation.
@sahilchaudhary7884 жыл бұрын
really nice explanation sir, i actually have a doubt, y cant v assign an array from A to Z then v take the given string convert it to array and sort it. if the resulting sting array is equal to the previous one it will be a pangram. please tell me if i am wrong thank you.
@sidharthmandal99574 жыл бұрын
what will you do about the repeated letters??
@shushilkumar60335 жыл бұрын
sir your teaching style wonderful
@ABCforTechnologyTraining5 жыл бұрын
Thanks for your appreciation. Keep Watching, Keep Learning.
@swatisharma-fw5pp4 жыл бұрын
Nicely explain
@lyrica58164 жыл бұрын
what if we want to use lowercase letters? what will be the logic then?
@nandishsg98055 жыл бұрын
Sir please make data structures videos. I am eagerly waiting for your videos on data structures.
@ABCforTechnologyTraining5 жыл бұрын
Undoubtedly, We have a lot to offer to aspiring technocrats. An intense series on Data Structures & Algorithms will be released very soon. Stay tuned!
@mdiqbalmahmud82334 жыл бұрын
thank sir
@anne_pandey5 жыл бұрын
This source code will not gonna work if the given string is in CamelCase notation and thus generates an Exception "ArrayIndexOutofBound". Sir, I m a big fan of you. the way of your teaching is Awesome. Actually i always used to be afraid with JAVA. But now your videos pull me in and build an interest into it. And i m one of your student in ABC, BTM. Thank you so much sir for such kind of Stuffs.
@anne_pandey5 жыл бұрын
I got the Solution 😀.
@rahuldey25015 жыл бұрын
@@anne_pandey You have to convert the String to Upper Case before copying the value to the array, then you will get the output.
@maheshdeoraye66604 жыл бұрын
it throws exception, array index out of bound exception
@mobeenasyed87535 жыл бұрын
Hi I am getting confusion how to subtract ASCII value
@ABCforTechnologyTraining5 жыл бұрын
We insist you to trace the code on your own once. It will certainly help you understand the logic well.
@VineetKumar-eb3lv5 жыл бұрын
Thank You
@ABCforTechnologyTraining5 жыл бұрын
Always glad to be of service!
@smithajoseph6675 жыл бұрын
Getting ArrayIndexOutOfBoundsException.. please help me on this
@ABCforTechnologyTraining5 жыл бұрын
Certainly, Kindly share the program code here. We will resolve the issue for you.
@ramcharanammineni95894 жыл бұрын
me also same problem how can solve it...
@ramcharanammineni95894 жыл бұрын
i got u convert the string into uppercase u got it..
@panyamramesh6395 жыл бұрын
i like the BGM
@dizzymolecule67595 жыл бұрын
send.firefox.com/download/586bbda37b23812b/#Ui6pUtPjZd9CSrbV9MgoUA the link given above is the same code with little modification that works for camel case also. you can remove the commented lines to understand the code and logic better.
@chaitrachinnu3205 жыл бұрын
Y we need to subtract by 65 oly.? Can we use other no to subtract.?
@HumeiraShaik5 жыл бұрын
We should subtract with 65 only in order to get the index value of array a[index]..
@dizzymolecule67595 жыл бұрын
65 is the starting index of the array.In order to get the respective index of an alphabet,you should perform [final index]-[initial index] and here the initial index is fixed,as ascii value of A is 65.
@filmyfactsmedia5 жыл бұрын
Please watch before vidoes in one of the video will encounter this ASCII table mam
@business1875 жыл бұрын
CAN U plzzz MAKE TUTORIALS ALGORITHM?? Plzzzzzzzzzzz
@rishabh1525 жыл бұрын
In python its a 3-4 line program. def ispangram(str): alphabet = "abcdefghijklmnopqrstuvwxyz" for char in alphabet: if char not in str.lower(): return False Done... Power of python
@kitchenkhazana86774 жыл бұрын
Please explain in hindi because some students are weak in English.
@RaviRanjan-kd2kf5 жыл бұрын
Sir, make tutorials On Mathematical Algorithms, generally used in Competitive programming
@maheshpatil58125 жыл бұрын
#include int main() { int i,j,c=0; char a[100]="the quick brown fox jumps over a lazy dog"; for(i=0;i
@blackpanther48125 жыл бұрын
Why break;
@blackpanther48125 жыл бұрын
What if I not put break
@abdullahbaabbad8854 жыл бұрын
What if we just took the original string ("the quick brown fox jumps over a lazy dog") and sort it using Array.sort() method and then initialize a string of all alphabets ("abcdefghijklmnopqrstuvwzyx") and just compare it with the orginal sorted string using Array.equals(original sorted string,string of alphabets). if they are equal then print pangram otherwise print non pangram. but the problem I faced that the original sorted string will contain repeated alphabets which leads to inequality with the string of alphabets. Can you please help me out? the cod is as follows: public class test { public static void main(String[] args) { String s1 = "the quick brown fox jumps over a lazy dog"; s1 = s1.replace(" ", ""); s1 = s1.toLowerCase(); String alphabets="abcdefghijklmnopqrstuvwxyz"; char[] c = s1.toCharArray(); char [] alpha=alphabets.toCharArray(); Arrays.sort(c); boolean result = Arrays.equals(c,alpha); if(result==true) { System.out.println("Pangram"); } else System.out.println("Non Pangram"); } }