Methods Kya Hai? Types of Methods in Java | Method Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024
  • In this video, learn Methods Kya Hai? Types of Methods in Java | Method Tutorial for Beginners. Find all the videos of the Android Course in this playlist: • Android 📱App Developme...
    💎 Get Access to Premium Videos and Live Streams: / @wscubetech
    WsCube Tech is a leading Web, Mobile App & Digital Marketing company, and institute in India.
    We help businesses of all sizes to build their online presence, grow their business, and reach new heights.
    👉For Digital Marketing services (Brand Building, SEO, SMO, PPC, SEM, Content Writing), Web Development and App Development solutions, visit our website: www.wscubetech...
    👉Want to learn new skills and improve existing ones with in-depth and practical sessions? Enroll in our advanced online courses now and make yourself job-ready: courses.wscube...
    All the courses are job-oriented, up-to-date with the latest algorithms and modules, fully practical, and provide you hands-on projects.
    👉 Want to learn and acquire skills in English? Visit WsCube Tech English channel: bit.ly/2M3oYOs
    📞 For more info about the courses, call us: +91-9024244886, +91-9269698122
    ✅ CONNECT WITH THE FOUNDER (Mr. Kushagra Bhatia) -
    👉 Instagram - / kushagrabhatiaofficial
    👉 LinkedIn - / kushagra-bhatia
    Connect with WsCube Tech on social media for the latest offers, promos, job vacancies, and much more:
    ► Subscribe: bit.ly/wscubech...
    ► Facebook: / wsubetech.india
    ► Twitter: / wscubetechindia
    ► Instagram: / wscubetechindia
    ► LinkedIn : / wscubetechindia
    ► TH-cam: / wscubetechjodhpur
    ► Website: wscubetech.com
    -------------------------------------| Thanks |--------------------------
    #AndroidCourse #MethodsKyaHai

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

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

    😎Hey, thanks for watching! We’d love to know your thoughts/doubts here in the comments.
    🔴 To learn Android App Development online with regular LIVE CLASSES, enroll now: forms.gle/qvhLEnfeUo8NadJM8
    👉For professional self-paced certification courses (pre-recorded), visit: bit.ly/Pre-Recorded-Course
    👉Don’t forget to SUBSCRIBE our channel for more such videos & valuable content: bit.ly/TH-cam-WsCubeTech

    • @mr.mallick9492
      @mr.mallick9492 3 หลายเดือนก่อน

      Please add static "public static int Add(int a, int b){". otherwise it is showing error.
      public class sum_function{

      public static void main(String[] args){
      int sum = Add(100,200);
      System.out.println("The sum is: "+ sum);
      }
      public static int Add(int a, int b){
      int sum = a+b;
      return sum;
      }
      }

  • @ashwanikumarkaushik2531
    @ashwanikumarkaushik2531 ปีที่แล้ว +6

    If you get static error.
    public static int Add(int a, int b){
    Write static as above.

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

    Beautiful way to give lecture

    • @Amir-hj4tq
      @Amir-hj4tq ปีที่แล้ว +1

      how to solve error

  • @rkrk5378
    @rkrk5378 10 หลายเดือนก่อน +1

    You answered some questions here which took me 2-3 years to understand

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

    Sir please ye sare programme Android Studio me kijiye jis se jyada samaj me aayega hame 🙏

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

      Bhai ye pre-recorded cource hai ek bar phle b isi channel p upload ho chuka hai

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

    One of the best tutorials available.

  • @sushilkhot4738
    @sushilkhot4738 9 หลายเดือนก่อน +2

    here is the actual code which is working
    public class sum_function{
    public static void main(String[] args){
    int sum = Add(100,200);
    System.out.println("The sum is: "+ sum);
    }
    public static int Add(int a, int b){
    int sum = a+b;
    return sum;
    }
    }

    • @Codewithchai1
      @Codewithchai1 7 หลายเดือนก่อน

      thanx bro

    • @AliRaza-qk4nq
      @AliRaza-qk4nq 7 หลายเดือนก่อน

      Love u bro

    • @mr.mallick9492
      @mr.mallick9492 3 หลายเดือนก่อน

      Yes, it is correct. Thanks a lot.

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

    Sir I am using eclipse, but at the time of writing method that time I have need to write "static" in method

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

    If you are getting error while running please write static with your method name

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

      thank you yaar

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

      Why to write static

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

      @@srynolwl3405 because you are calling it inside main method which is of static type.
      So your called method should also be static.

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

      @@tusharbharti732 ur info is correct , but u can use it only when u r creating a method in the same main class and not in the other class. Cause static methods will work only in same class , it's accessibility is only within the class , otherwise it will throws an runtime error 🙂

    • @42_debadritaaichsarkar36
      @42_debadritaaichsarkar36 ปีที่แล้ว

      Thank you mamuuu

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

    best explanation

  • @SahidulIslam-tz6tm
    @SahidulIslam-tz6tm 2 ปีที่แล้ว +3

    Sir, you are calling a non static method from a static context and still not getting any error, how?

    • @Amir-hj4tq
      @Amir-hj4tq ปีที่แล้ว +1

      same problem bro

    • @Amir-hj4tq
      @Amir-hj4tq ปีที่แล้ว +1

      kitna shikh liye ho bro

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

    👍👍👍👍👍👍👍

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

    Sir jo aapne ye samjhaya hai isme add nonstatic method hai aapne main m kese call kar diya bina object create kiye

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

      bhai yehi problem aari h mujhe bhi mere islea error aara h... or mujhe bhai pta bhi ni kaise kaise krna h , i'm a beginner.

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

      @@amritchauhan7037 same here bro

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

      @@amritchauhan7037 solve hui problem fir

  • @k-98-Head-short
    @k-98-Head-short 2 ปีที่แล้ว

    sir android complete course karna hai mujha paid wala

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

      Please Visit: courses.wscubetech.com/s/store/courses

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

    How to solve error?
    🥲

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

    First aid çod