Print Initials of a Name in Java | String Program | ICSE Class 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2024
  • Program to input a name and print its initials as --
    Input - Subhash Chandra Bose
    Output- S.C. Bose
    A Program to print a Name input ,with initials keeping the last word as it is.
    ICSE Class 10, 11, 12 Computer
    ****************************************************************
    String Functions: • Functions of String Cl...
    String (Complete Playlist) :- • String in Java
    ***************************************************************
    You can follow us here,
    Twitter :- / alokmaurya95
    Instagram :- / alokmaurya95
    Facebook :- / alokmauryaofficial
    Join me on Telegram,
    Our channel :- t.me/amplifyle...
    Contact me :- t.me/alokmaurya95
    Check out our website :- www.amplifylearning.co.in
    Email us at :- amplifylearning@yahoo.com
    ******************************************************************************************************
    Join our youtube family, lets grow together!
    Subscribe to Amplify Learning
    / amplifylearning
    #AmplifyLearning #Computer

ความคิดเห็น • 118

  • @4chanuser-qf3vv
    @4chanuser-qf3vv 8 หลายเดือนก่อน +4

    2024 boards we have overmorrow

  • @afifahraza9023
    @afifahraza9023 2 ปีที่แล้ว +2

    💯💯 helped a lotttttt

  • @pushpashukla1795
    @pushpashukla1795 4 ปีที่แล้ว +1

    You are so good sir

    • @AmplifyLearning
      @AmplifyLearning  4 ปีที่แล้ว

      So nice of you

    • @pushpashukla1795
      @pushpashukla1795 4 ปีที่แล้ว

      Sir I have a request to make video on 2021 class 10 Computer Applications paper for section A and B, the question that can come.
      Thank you!

  • @10aryanupadhyay6
    @10aryanupadhyay6 2 ปีที่แล้ว

    Literally helpful bhaiya

  • @sheelgupta4397
    @sheelgupta4397 ปีที่แล้ว

    Thank you very much sir

  • @Sakshiagrawl-b3f
    @Sakshiagrawl-b3f 2 ปีที่แล้ว

    Thank you sir i under it properly

  • @muskeiww_medico
    @muskeiww_medico 3 ปีที่แล้ว +1

    Super duper sir❤️

    • @sv0mega125
      @sv0mega125 3 ปีที่แล้ว

      Is strings program coming in 10 icse 2021 paper

    • @muskeiww_medico
      @muskeiww_medico 3 ปีที่แล้ว +1

      @@sv0mega125 yesss!

    • @sv0mega125
      @sv0mega125 3 ปีที่แล้ว +1

      @@muskeiww_medico but some are saying " in reduced syllabus it's mentioned it's not coming". Are you confirmed.

    • @muskeiww_medico
      @muskeiww_medico 3 ปีที่แล้ว

      @@sv0mega125 yess! its coming it has also came in my preboards

  • @monisingh2026
    @monisingh2026 3 ปีที่แล้ว

    Tysm

  • @MrX-nq8ek
    @MrX-nq8ek 3 ปีที่แล้ว

    Nice

  • @ayushwalia9490
    @ayushwalia9490 5 ปีที่แล้ว +1

    You are best teacher for our school

  • @swagnikadas8594
    @swagnikadas8594 2 ปีที่แล้ว +2

    Thank you so much...I was troubling with this program a lot .now it's completely clear. 🙏
    Thank you so much sir

  • @Aviiz_11
    @Aviiz_11 ปีที่แล้ว +1

    Thanks a lot sir
    I have seen many solutions of this program, but your solution is best and much easier to understand than others.

  • @ramprakashsharmaadvocate8374
    @ramprakashsharmaadvocate8374 4 ปีที่แล้ว

    You explain very easily than book

  • @appukumarmahto9693
    @appukumarmahto9693 ปีที่แล้ว

    Brilliant explanation

  • @Abhi-ou1vo
    @Abhi-ou1vo 3 ปีที่แล้ว +1

    Thanks a lot it helped me

  • @sapana82
    @sapana82 8 หลายเดือนก่อน

    Sir aapke per kidhar h.......thank you so much sirrr .. Always a difficult part for me but not now..

  • @shreemonbhattacharyya4992
    @shreemonbhattacharyya4992 2 ปีที่แล้ว

    Thank you. I was having problem in understanding this. This vdo made it easy

  • @tigerofficial8176
    @tigerofficial8176 4 ปีที่แล้ว +2

    bohot bariya sir aur bhi program aese hi solve karte rahiye plzzz sir!

  • @kismatara806
    @kismatara806 2 ปีที่แล้ว +2

    Legends ar watching this before exam 😂

  • @shagunsingh7059
    @shagunsingh7059 2 ปีที่แล้ว

    Thank you so much sir..☺️

  • @arnavvishwakarma6486
    @arnavvishwakarma6486 3 ปีที่แล้ว

    Sir it is extremely helpful

  • @আমিআরআমারবিচ্চু
    @আমিআরআমারবিচ্চু 4 ปีที่แล้ว

    Kitni asani se samjha diya apne sir ! Thank you soooo much 🙏

  • @alam5695
    @alam5695 5 ปีที่แล้ว +2

    Best explanation

  • @Indianuser77
    @Indianuser77 3 ปีที่แล้ว +1

    Very helpful.Thanks

  • @laxmikant3214
    @laxmikant3214 4 ปีที่แล้ว +1

    Good explanation

  • @herjendarsingh5448
    @herjendarsingh5448 3 ปีที่แล้ว

    Very good

  • @shantidevisinha4378
    @shantidevisinha4378 4 ปีที่แล้ว

    Wounder full explanation. Thank you sir

  • @kiranrai8032
    @kiranrai8032 4 ปีที่แล้ว

    Sir u r really great.

  • @anitajaiswal5670
    @anitajaiswal5670 4 ปีที่แล้ว

    Nice video

  • @UTSAV73
    @UTSAV73 4 ปีที่แล้ว

    Very nicely explained

  • @VedanshiMishra34
    @VedanshiMishra34 4 ปีที่แล้ว

    Very good video sir

  • @sankalpbhatt6636
    @sankalpbhatt6636 3 ปีที่แล้ว

    Great video sir..

  • @rinathakur3188
    @rinathakur3188 3 ปีที่แล้ว +1

    Bhaiya aap boht ache parate ho thanks bhaiya mujhe string boht hard lagta tha ab easy lagne laga bhaiya please kya aap computer ke further reduced Syallbus icse par video banayenge ki kaunsa kaunsa karna ha kaunsa kaunsa nahi. Please 🙏

  • @foolmasti117
    @foolmasti117 4 ปีที่แล้ว +1

    Sir menu driven ke liye bhee samjadhijeye GA plz

  • @paramitadas6052
    @paramitadas6052 5 ปีที่แล้ว +39

    I requested you to make this video. Pls dont mind that I wasted your time. Just for you I passed in my exam easily. You are the best teacher. Keep on helping.🙏🙏🙏

    • @paramitadas6052
      @paramitadas6052 5 ปีที่แล้ว +4

      Pls can you make a video on basic concept of single dimensional array and how to do its programs? Pls sir🙏🙏

    • @AmplifyLearning
      @AmplifyLearning  5 ปีที่แล้ว +14

      Please don't day that. I hope that the video helped you. Thank you for that complement. 😊

    • @AmplifyLearning
      @AmplifyLearning  5 ปีที่แล้ว +5

      @@paramitadas6052 For array watch this: th-cam.com/play/PLGsRpMr9gXDdmD6lAybN9_uUwMmFCK7Al.html

  • @mausamkumari7597
    @mausamkumari7597 9 หลายเดือนก่อน

    In array it will only come to arrange in acending or descending by bubble sort or by selection sort

  • @nidhidubey9506
    @nidhidubey9506 4 ปีที่แล้ว +20

    How intelligent you are!!!! thankuu sir for your fabulous teaching keep helping us

  • @pec_rishidixit5854
    @pec_rishidixit5854 5 ปีที่แล้ว +2

    Thanks bhaiya

  • @AnkitGupta-cc5db
    @AnkitGupta-cc5db 2 ปีที่แล้ว

    Maja aa gya👍👍

  • @milidixit9757
    @milidixit9757 2 ปีที่แล้ว +1

    What a fabulous teacher you are 🙏🏻🙏🏻Your way of teaching is of another level Thank you sir for explaining 🙏🏻

  • @SUMITPATELINDIAN
    @SUMITPATELINDIAN 4 ปีที่แล้ว +3

    Thanks a lot sir

  • @parthonag3735
    @parthonag3735 4 ปีที่แล้ว

    Thanks a ton Sir ☺

  • @priyap864
    @priyap864 3 ปีที่แล้ว +3

    THANK YOU SO SO MUCH FOR THIS VIDEO SIR :)
    PLEASE MAKE A VIDEO ON :
    WAP TO ACCEPT A STRING AS A SENTENCE. DISPLAY THE NEW STRING AFTER REVERSING THE CHARACTERS OF EACH WORD.
    please please make a video on it sir

  • @tanayasahu9043
    @tanayasahu9043 4 ปีที่แล้ว

    Tnx sir for u only i kept 92 out of 100....in models.

  • @anuragmishra3262
    @anuragmishra3262 4 ปีที่แล้ว

    Please make programming on java such as to take input computer is fun and the output should be fun is computer

  • @vineettiwari6896
    @vineettiwari6896 4 ปีที่แล้ว +2

    Nicely explained and very much clearly cleared all my concepts of word extraction.Thank you Sir Ji

  • @pawansoni5677
    @pawansoni5677 4 ปีที่แล้ว

    Thanks sir

  • @raghavaggarwal7624
    @raghavaggarwal7624 2 ปีที่แล้ว +1

    Before putting a space before the string you should always first use trim method to remove any trailing spaces to avoid errors

  • @ishaansrivastava6966
    @ishaansrivastava6966 3 ปีที่แล้ว +1

    sir string prg is removed for this batch 2021 but functions are there...still this video is very helpful for those who r interested thank you sirr luv from your city...pl tell your address might living near me i am in gomti nagar...

    • @sv0mega125
      @sv0mega125 3 ปีที่แล้ว

      Can you please tell me what important things are reduced from syllabus plz

  • @agnikbiswas4613
    @agnikbiswas4613 3 ปีที่แล้ว +2

    Sir u are the best teacher on earth and ur videos have been such a help to me....... All these people nowadays keep launching apps but u have changed the very way I treat computer.....I have recommended ur videos to others and all of them love it...but I would also request u to add more videos regarding the programs because some programs are missing from ur playlists......and keep helping us✌️

  • @justsomerandomguy9706
    @justsomerandomguy9706 5 ปีที่แล้ว +2

    Bhai aap topicwise video banaiye computer me aur phy che maths aap jaisa ha wasi hi rehne dijeye it's not advice it's a request kyuki computer me topicwise koi nhi padata ha icse ke liye aap 10 syllabus pura kerne ki koshish kriye ga school me sir doesn't teach well per aap ki explanation 🙌🙌🙌👏👏👏👏👏👏👏👏toh awesome bass aap plzzzz aap topicwise padaiye love you 30000000

  • @bbhanupratap4756
    @bbhanupratap4756 4 ปีที่แล้ว

    Sir please made a video on theory part of 10 computer

  • @monisingh2026
    @monisingh2026 3 ปีที่แล้ว +1

    Can u pls tell me a mobile app through which I can do java programming using my mobile.....actually I can't avail laptop/desktop now...

  • @bharatjain839
    @bharatjain839 5 ปีที่แล้ว +1

    Please comment on this on how to reverse a string name Eg-
    Input - Shankar Dayal Sharma
    Output - Sharma Shankar Dayal
    Please reply or comment this program

    • @AmplifyLearning
      @AmplifyLearning  5 ปีที่แล้ว +1

      String s = " your name ";
      int pos = s.lastIndexOf(' ');
      String newName = s.substring(pos+1) + " " + s.substring(0, pos);
      System.out.print(newName);

    • @bharatjain839
      @bharatjain839 5 ปีที่แล้ว

      Thanks so much for you help

  • @rishabhmishra3310
    @rishabhmishra3310 4 ปีที่แล้ว +2

    Sir please paper ke pahle theory part of last 10 years explain kar dege to great hoga....

  • @premchandra2708
    @premchandra2708 4 ปีที่แล้ว

    Perfect explanation 👍👍

  • @A-Yadav...
    @A-Yadav... 4 ปีที่แล้ว +1

    How to make loop programming in Java class 9th for example write the programs in Java to display the first ten terms of the following series

  • @animeshroy6280
    @animeshroy6280 3 ปีที่แล้ว

    can you please provide the algorithm

  • @akshadkhan3282
    @akshadkhan3282 4 ปีที่แล้ว

    It was amazing.

  • @palomachakrabarty4571
    @palomachakrabarty4571 4 ปีที่แล้ว +1

    Thank u sir. You really helped me in doing my homework n u make understand the programs so well. Sir can u please help me in understanding one program
    If we need to print the output like this
    Sample input :Subhash Chandra Bose
    Sample output: Bose S C how we can do this

    • @AmplifyLearning
      @AmplifyLearning  4 ปีที่แล้ว +1

      Okay, I will do this program the coming videos. Press the bell icon & stay tuned.

    • @palomachakrabarty4571
      @palomachakrabarty4571 4 ปีที่แล้ว

      Yes sir.

    • @hazrafatima6919
      @hazrafatima6919 4 ปีที่แล้ว

      @@AmplifyLearning sir i also need the solution to the above problem . Sir plz tell in short its very urgent!! Plz Sir

  • @prabhatkumaryadav8837
    @prabhatkumaryadav8837 4 ปีที่แล้ว +2

    Sir what is the correct way of writing a space in java sometime we write " " this and sometime ' ' this. Pls tell

    • @prabhatkumaryadav8837
      @prabhatkumaryadav8837 4 ปีที่แล้ว

      Anf if wr want to compare with aspace can we compare with 32?😞

    • @sns431
      @sns431 3 ปีที่แล้ว

      " " is used when the variable is in string from and ' ' is used when it is in character form

  • @palomachakrabarty4571
    @palomachakrabarty4571 4 ปีที่แล้ว

    Please reply sir

  • @kazisahidalam405
    @kazisahidalam405 5 ปีที่แล้ว +2

    very nice explanation and now i have decided that i don't need any tution or coaching centre to go only to learn java
    very nice explanation sir each line of the program you have explained very clearly
    Best regards .
    sir plz make video on series programming like
    eg - 2 4 6 8 10 upto n terms
    This is my humble request

  • @vanshika7990
    @vanshika7990 4 ปีที่แล้ว

    Sir pls make video on a program that counts the number of times a particular word occurs in a string choosen by the user ...

  • @VedanshiMishra34
    @VedanshiMishra34 4 ปีที่แล้ว

    Sir mera string ka sara doubt world tour karne gaya

  • @rambhaktimantras4106
    @rambhaktimantras4106 4 ปีที่แล้ว

    how can be do the program to print the initial letter of our surname in wrapper class .pls explain it sir

  • @starboy_________
    @starboy_________ ปีที่แล้ว

    Nahi samaj Aya bhai very hard

  • @lavanyasrivastava5453
    @lavanyasrivastava5453 4 ปีที่แล้ว

    Very helpful video sir...can uh pls tell me that from where I can see more programs of yours of string manipulation in java...

  • @rajeevgoraii3504
    @rajeevgoraii3504 4 ปีที่แล้ว

    Sir plz solve this: write a program to enter a string containing three words remove the word kumar from the string

  • @justsomerandomguy9706
    @justsomerandomguy9706 5 ปีที่แล้ว

    Preboards

  • @shadanabashir2278
    @shadanabashir2278 5 ปีที่แล้ว +3

    You are a great teacher. Your explanation skills are really amazing. Please make some videos on java programs like happy number, special no, magic number.

  • @shadanabashir2278
    @shadanabashir2278 4 ปีที่แล้ว

    Sir, here instead of sc.nextLine()
    Can we use sc.nextInt() ?
    Please reply sir

    • @vivekagarwal4298
      @vivekagarwal4298 4 ปีที่แล้ว +1

      How can you use sc.nextInt()
      U are trying to deal with a string
      So have to use sc.nextLine()

    • @kumarbharadwaj3910
      @kumarbharadwaj3910 4 ปีที่แล้ว

      sc.nextInt () is used for integers not for strings.....

    • @praneethn3137
      @praneethn3137 4 ปีที่แล้ว

      @@vivekagarwal4298 ya

  • @speedkiller2862
    @speedkiller2862 4 ปีที่แล้ว +2

    But sir agar user aisa koi input diya then
    Speed killer bro
    Ek word ke baad ek sai hyada space then koi error hoga kya??

  • @bharatjain839
    @bharatjain839 5 ปีที่แล้ว

    Hey man thanks very much for the reply. Please it just one more string program can your solve it for me will prove very beneficial for me-
    INPUT - SHANKAR DAYAL SHARMA
    OUTPUT - SHARMA DAYAL SHANKAR
    PLEASE IF YOU CAN HELP ME OUT
    THANKS:-):-)

  • @AdityaSingh-fu7xp
    @AdityaSingh-fu7xp 5 ปีที่แล้ว +1

    Aapane Yahan per scanner Kyon Liya Hai import java.io Kyon Nahin

    • @AmplifyLearning
      @AmplifyLearning  5 ปีที่แล้ว

      You must watch this video to understand this: th-cam.com/video/7Nfnea37R7w/w-d-xo.html

  • @firenice333
    @firenice333 4 ปีที่แล้ว +3

    Great video!
    What if:
    System.out.println("Enter your last name:");
    lastName = input.next();
    System.out.println("Enter your first name:"
    );
    firstName = input.next();
    System.out.println("Enter your middle name:");
    middleName = input.next();
    And I need to display eg: S. C. Bose
    Any help would be appreciated :)

    • @AmplifyLearning
      @AmplifyLearning  4 ปีที่แล้ว +3

      That's a logic, but its not expected. What's expected from you is that you get a full name in one string and then you must print it in that manner.

    • @firenice333
      @firenice333 4 ปีที่แล้ว +1

      @@AmplifyLearning
      I figured it out.
      So first I declared all strings and ints:
      String lastName = ""; // Declaring string and int values to be used.
      String firstName = "";
      String middleName = "";
      int houseNum = 0;
      String streetName = "";
      String streetType = "";
      String city = "";
      int Age = 0;
      Then because I was building a program that would have multiple entries from users, this is what I did and it executed perfectly:
      System.out.println(firstName.charAt(0) + ". " + ' ' + middleName.charAt(0) + ". " + ' ' + lastName);/* Display first and middle initial followed
      by last name.eg. A. B. Carey on 1 line.
      If it can help anyone else, why not :)
      Thanks for responding.

  • @hazrafatima6919
    @hazrafatima6919 4 ปีที่แล้ว

    Sir, if we have to print the surname and then the initials , what do we need to do.
    Sir plz tell its very urgent!!
    sir plz if uh could write a small program in the comment box itself it would be of very great help!!
    Its very urgent sir plzz!!

  • @TheYsf90
    @TheYsf90 2 ปีที่แล้ว

    dislike

  • @Shivanshgupta-offical
    @Shivanshgupta-offical หลายเดือนก่อน +2

    Thanks you sir ❤❤

  • @NamitaGorai-vu3iq
    @NamitaGorai-vu3iq 2 หลายเดือนก่อน

    Thank you sir

  • @anupmondal802
    @anupmondal802 2 ปีที่แล้ว +1

    Nice