Part 7 | OOP Concepts: Class and Objects | Java Programming Malayalam Tutorial

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 703

  • @afseerkasaragod
    @afseerkasaragod 4 роки тому +936

    ജോലി കഴിഞ്ഞു രാത്രി ഒരു മണി കഴിഞ്ഞിട്ടും ഉറങ്ങാതെ നമുക്ക് വേണ്ടി ക്ലാസ് എടുക്കുന്ന ആ ഔദാര്യത്തിന് ഒരുപാട് നന്ദി

  • @manucj3132
    @manucj3132 4 роки тому +122

    Sir faceill apolum oru ചിരി end
    Aa ചിരി ann enna class kanan പ്രേരിപ്പിക്കുന്നത്. Some postive feelings 🙏 thanks nikhil sir

  • @arathimanikandan6174
    @arathimanikandan6174 4 роки тому +130

    Covid timum college um illa online class onnum manasilakunnumilla. Recommended by a friend Crossroads Bayankara helpful anu ..Thank you so much🙏

  • @bicyclediaries
    @bicyclediaries 4 роки тому +14

    39:45 The sum should be 55.
    Either use "i

  • @women8884
    @women8884 4 роки тому +8

    njn 1 week ayullu sir inte channel watch cheyan tudangiyitt .really helpful.100k coding challenge cheytha timeil undavan kazhinjillallo enna oru sangadm mathrm und.njn part 7il ethy nilkkunnu.ella viedosum intresting anu.thank you sir.

  • @reymisterio9061
    @reymisterio9061 2 роки тому +30

    Assigment q2-
    package calculator;
    import java.util.Scanner;
    public class Hello {
    public static void main(String ar[]) {

    System.out.println("enter two numbers");
    Scanner input=new Scanner(System.in);
    int num1=input.nextInt();
    int num2=input.nextInt();
    System.out.println("1 for addition
    2 for substraction
    3 for multiplication
    4 for division");
    Scanner in=new Scanner(System.in);
    int choice=in.nextInt();
    sample obj=new sample();
    switch(choice) {
    case 1:int add=obj.sum(num1,num2);
    System.out.println("result:"+add);
    break;
    case 2:int red=obj.sub(num1,num2);
    System.out.println("result:"+red);
    break;
    case 3:int dob=obj.mal(num1,num2);
    System.out.println("result:"+dob);
    break;
    case 4:int sep=obj.div(num1,num2);
    System.out.println("result:"+sep);
    break;
    }




    }
    }
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    class
    public class sample {
    int sum(int a,int b) {
    int c;
    c=a+b;
    return c;
    }
    int sub(int a,int b) {
    int c;
    c=a-b;
    return c;
    }
    int mal(int a,int b) {
    int c;
    c=a*b;
    return c;
    }
    int div(int a,int b) {
    int c;
    c=a/b;
    return c;
    }}

  • @adil7369
    @adil7369 2 роки тому +7

    Subscribe um supporting deserve cheyunna malayalathile oru good youtuber aan Ninghal... Great hard working..

  • @Anjumv9995
    @Anjumv9995 2 роки тому +18

    Superb way of teaching...Really easy to grasp the concepts through your explanation...Thank you Sir

  • @aparnasnair5143
    @aparnasnair5143 3 роки тому +17

    Oru base illat njn successfully part 7 vare aayi.... Kurache days aayi start cheytit, Ennalum enike manasilaakunnu......
    Hats off to u sir.
    Thank you so much for creating such a channel....😇🙏

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому +5

      Its our pleasure ❤️
      Keep going and all the very best ❤️

    • @aparnasnair5143
      @aparnasnair5143 3 роки тому +2

      @@BrototypeMalayalam of course sir...
      Job kittiyit for sure I will post a comment...

    • @x36_book54
      @x36_book54 Рік тому

      ​@@aparnasnair5143assignment kudi chy

    • @jaseeladayyan3851
      @jaseeladayyan3851 11 місяців тому +2

      Enthaayi job set aayo

    • @earth-sv5wd
      @earth-sv5wd 10 місяців тому

      ​@@aparnasnair5143 job kitiyo

  • @JoEl-jx7dm
    @JoEl-jx7dm 3 роки тому +69

    Programing was a dream to me when I was on my Intermediate, But on some basis I had to choose Bio , after that TBH I actually lost interest on everything, After finishing 12th because of Science I had so many Directions in front of me Here, But still luckily I had this thing for Programming deep inside of me so I choose Tech above my other options I decided going to a tech related course I am now B-Tech CSE 2nd year no idea what my teachers are explaining about c / java, But this man right here opened my love for programming and got me through that even the newbies can Do it! Man Hats off to you and your team ~ Keep up the Good Work!!

  • @syamjithp1924
    @syamjithp1924 3 роки тому +42

    Please mention the upper cases of S in "String" and "System". I took half a day to figure it out , coz I am entirely new to java.

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому +5

      Okay

    • @shibilipadippan1412
      @shibilipadippan1412 2 роки тому +8

      Tnx man. ഒരു മണിക്കൂറായിട്ട് ഇതിൽ കുടുങ്ങി നിക്കായിരുന്നു. ഇപ്പോഴാണ് കമെന്റ് നോക്കിയത്. ഇപ്പൊ റെഡിയായി

    • @ummarfarooqpk
      @ummarfarooqpk 2 роки тому +1

      Tnx bro

    • @murali1594
      @murali1594 2 роки тому

      Thanks man

    • @ajithakhil7079
      @ajithakhil7079 2 роки тому

      Thanks bro .you just saved my whole day..

  • @studies-zy1ih
    @studies-zy1ih 9 місяців тому +1

    thanks for brototype,
    especially for nikhil sir for easy and understandable classes

  • @sharukhps
    @sharukhps 4 роки тому +72

    Your Programme Co-Ordinator Shimna Aswin Is Doing A Great Job.
    She Will Reply Within 5 Minutes After Asking A Doubt. She Is A Great Employee For Your Company🙂

  • @akhilagopinath6743
    @akhilagopinath6743 3 роки тому +3

    Non CS batch padich infosysil join chyth........Trainingil avr padipicha programming onnum manasilakathe ...joli resign chythalon karuthi irunapo...avasaana sremam aayit youtubil keri ee video kandatha.....Adipoli Class🙌.....Concept ellam nalla clear aayii....Thankuu so much.

  • @mesourabh619
    @mesourabh619 2 роки тому +40

    /* Arthamatic operation in java using switch */
    public class Calc {
    public static void main(String arg[]) {

    Scanner sc=new Scanner(System.in);

    System.out.println("Enter First Number");
    int num1=sc.nextInt();

    System.out.println("Enter Second Number");

    int num2=sc.nextInt();


    System.out.println("Choice are:");
    System.out.println("1.Addition");
    System.out.println("2.Subtraction");
    System.out.println("3.Multiplication");
    System.out.println("4.Division");
    System.out.println("Enter your Choice:");
    int ch=sc.nextInt();


    switch (ch) {
    case 1:

    System.out.println("Result is :" + (num1 + num2));
    break;

    case 2:
    System.out.println("Result is:"+ (num1 - num2));
    break;

    case 3:

    System.out.println("Result is:"+ (num1 * num2));
    break;

    case 4:

    System.out.println("Resut is:"+ (num1 / num2));
    break;

    default:
    System.out.println("Your have Entered Wrong Choice");

    }
    }
    }


    o/p
    Enter First Number
    30
    Enter Second Number
    70
    Choice are:
    1.Addition
    2.Subtraction
    3.Multiplication
    4.Division
    Enter your Choice:
    1
    Result is :100
    Enter First Number
    20
    Enter Second Number
    10
    Choice are:
    1.Addition
    2.Subtraction
    3.Multiplication
    4.Division
    Enter your Choice:
    2
    Result is:10
    Enter First Number
    2
    Enter Second Number
    5
    Choice are:
    1.Addition
    2.Subtraction
    3.Multiplication
    4.Division
    Enter your Choice:
    3
    Result is:10
    Enter First Number
    50
    Enter Second Number
    50
    Choice are:
    1.Addition
    2.Subtraction
    3.Multiplication
    4.Division
    Enter your Choice:
    4
    Resut is:1
    Enter First Number
    17
    Enter Second Number
    30
    Choice are:
    1.Addition
    2.Subtraction
    3.Multiplication
    4.Division
    Enter your Choice:
    5
    Your have Entered Wrong Choice

    • @shameemali7275
      @shameemali7275 2 роки тому +2

      Omg 😲

    • @hijasahamed2000
      @hijasahamed2000 Рік тому +1

      @@shameemali7275 wow

    • @anandhukrishnan5596
      @anandhukrishnan5596 Рік тому +7

      Bro you got the right answer but this is not the assignment. The program should contain 4 functions and using the class object we should call those functions.

  • @maheshmohan3885
    @maheshmohan3885 2 роки тому +29

    Note if you get error while coding
    Pls check
    1 wheather s in System.out
    Is capital letter
    2 wheather I in nextInt();
    Is capital or not
    Etc........
    (Tips for beginners😁)

  • @kumarcok
    @kumarcok 5 років тому +23

    I really loved that point,indication of growing !!

  • @mohammedfasil8739
    @mohammedfasil8739 4 роки тому +18

    Super class.👍 i don't had understand java when sir taken class. Brother you are doing great job.🤩 Now iam understand what is java. Great work💖

  • @inarasoft6459
    @inarasoft6459 4 роки тому +33

    Please add android studio app development course. It would be great.

  • @sanjosabu8170
    @sanjosabu8170 3 роки тому +6

    #1:14:41
    A Big Salute to you Sir🥰❤

  • @bichubalakrishnan
    @bichubalakrishnan 3 роки тому +10

    Chiri ang ishtay... Positive vibes.😊❣️

  • @shibnak7801
    @shibnak7801 3 роки тому +4

    veruthee collegilokke poyi time wase aakki....poli class..... thank youuuu

  • @soulcity7529
    @soulcity7529 Місяць тому

    1:14:30 Huge respect for the efforts u took 🙏🙏

  • @shibin973
    @shibin973 3 роки тому +8

    Coding താല്പര്യം തോന്നി computer commerce എടുത്തപ്പോൾ വേണ്ടില്ലായിരുന്നു എന്നായിരുന്നു.
    പ്രാക്ടിക്കൽ എക്സാമിന് ഒക്കെ കാണാതെയാണ് പഠിച്ച എഴുതിയത്.
    ഇത്രയും സിമ്പിളായിപഠിക്കാൻ പറ്റും എന്ന് വിചാരിച്ചില്ല ഇതിന് സഹായിച്ച സാറിനും സാറിൻറെ ഒപ്പം ഉള്ളവർക്കും ഒരുപാട് നന്ദി❤️❤️❤️❤️❤️❤️❤️.

  • @devusumesh5561
    @devusumesh5561 Рік тому +10

    Assignment 7.2
    import java.util.Scanner;
    public class MathsChoice {
    public static void main(String su[]) {
    Scanner val = new Scanner(System.in);
    System.out.println("Enter 2 Values");
    int num1 = val.nextInt();
    int num2 = val.nextInt();
    System.out.print(" 1 for Addition
    2 for Subtraction
    3 for Multiplication
    4 for Division
    Enter Your Choice: ");
    selection s1 = new selection();
    int choice = val.nextInt();
    if (choice == 1) {
    s1.sum(num1, num2);
    } else if (choice == 2) {
    s1.sub(num1, num2);
    } else if (choice == 3) {
    s1.multi(num1, num2);
    } else if (choice == 4) {
    s1.div(num1, num2);
    } else {
    System.out.println("fool!!!");
    }
    }
    }
    class selection {
    int c;
    void sum(int a, int b) {
    c = a + b;
    System.out.println("Result is: " + c);
    }
    void sub(int a, int b) {
    c = a - b;
    System.out.println("Result is: " + c);
    }
    void multi(int a, int b) {
    c = a * b;
    System.out.println("Result is: " + c);
    }
    void div(float a, float b) {
    float c = a / b;
    System.out.println("Result is: " + c);
    }
    }

    • @Ihsan-qd2sl
      @Ihsan-qd2sl Рік тому

      Hlo ningal online gdb ano use cheyyunne

    • @Sreejith19
      @Sreejith19 Рік тому

      ​​​@@Ihsan-qd2sl edo than online gdb aanoo

  • @Funtimechilltime27
    @Funtimechilltime27 3 роки тому +10

    Thank you sir, actually due to the mistake in the (obj1 display x) obj 1 calculate sum i understood how it is

  • @jishnupdileep3143
    @jishnupdileep3143 4 роки тому +12

    Good Oop tutorial i have ever seen. Thank you guys. You made it.

  • @captianlevi8033
    @captianlevi8033 3 роки тому +11

    Athyam enikku onnum manasilayailla pinne veedum kandu manasilayailla pinne kandu kandu manasilaye
    Ella karyavum parayunnudu pakshe nammal kelkkathathannu
    Ippe manasilayi
    NEVER GIVE UP 🔥🔥🔥

  • @vishnubhadran4220
    @vishnubhadran4220 4 роки тому +7

    your videos are very helpful sir , thank you so much!!

  • @risewithriji
    @risewithriji 3 роки тому +44

    Coming from DS coding challenge...

  • @gycelalkr2268
    @gycelalkr2268 Рік тому +3

    Assignment :1
    import java.util.Scanner;
    public class Prime {
    public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    System.out.println("Enter a number :");
    int Num = sc.nextInt();
    int flag=0;

    for(int i=2;i

  • @Observer-a11
    @Observer-a11 3 роки тому +2

    Vallare systematic aayya presentation. Easy-going conversation style. Athe polle deep content. Thank you.

  • @niyaskhan.s7385
    @niyaskhan.s7385 4 роки тому +4

    assignments 7 two qst sum finish cheythu. thank you

  • @aldrich7409
    @aldrich7409 4 роки тому +6

    100% Helpfull you guys are awsome😍

  • @mathewjshaji3871
    @mathewjshaji3871 3 роки тому +1

    Oru raksha illatha class nalla rethiyil confidence kitunund ee videos kanumbol

  • @arunk9094
    @arunk9094 3 роки тому +4

    Night kashtapattu program padippikkunnathinu big thanks 🥰

  • @nishmahairuban5088
    @nishmahairuban5088 2 роки тому +1

    Best java tutorial.. Thnku soo much👏

  • @parthivajith7634
    @parthivajith7634 2 роки тому +3

    Another adipoli ashan like sharique sir

  • @muhammedfahadkp1019
    @muhammedfahadkp1019 Рік тому +1

    Thank you From Bottom of Hearts 😢❤

  • @asharudheen297
    @asharudheen297 4 роки тому +2

    vallaatha chaithaayipoyi.. maahn
    a.x=10...
    adyam full variablin value koduthernnath variable dot (.) vachiternnath..
    last sum kanunna prblathil..
    int a=10..
    int kerivann pettann onn parayarnn athoode🤝
    classil alla objectilaan

  • @shahinsha8117
    @shahinsha8117 4 роки тому +7

    Thalaivaa.....🔥🔥🙏

  • @devusumesh5561
    @devusumesh5561 Рік тому +2

    Assignment 7.2 switch case
    import java.util.Scanner;
    public class MathsChoice {
    public static void main(String su[]) {
    Scanner val = new Scanner(System.in);
    System.out.println("Enter 2 Values");
    int num1 = val.nextInt();
    int num2 = val.nextInt();
    System.out.print(" 1 for Addition
    2 for Subtraction
    3 for Multiplication
    4 for Division
    Enter Your Choice: ");
    selection s1 = new selection();
    int choice = val.nextInt();
    switch (choice){
    case 1:
    s1.sum(num1, num2);
    break;
    case 2:
    s1.sub(num1,num2);
    break;
    case 3:
    s1.multi(num1,num2);
    break;
    case 4:
    s1.div(num1,num2);
    break;
    default:
    System.out.println("fool!!!");}
    }
    }
    class selection {
    int c;
    void sum(int a, int b) {
    c = a + b;
    System.out.println("Result is: " + c);
    }
    void sub(int a, int b) {
    c = a - b;
    System.out.println("Result is: " + c);
    }
    void multi(int a, int b) {
    c = a * b;
    System.out.println("Result is: " + c);
    }
    void div(float a, float b) {
    float c = a / b;
    System.out.println("Result is: " + c);
    }
    }

  • @Rahul-xl3hd
    @Rahul-xl3hd 3 роки тому +5

    Thank you Roshan&Ameer sir..simple aayi doubts ellam clear cheyth thannuuu...free course aayittum ningal ethrakkum assist cheyyunuu!!!..Thank u so much....

  • @praveenuk9785
    @praveenuk9785 4 роки тому +2

    Oru rekshyum illa...super class

  • @automateddude
    @automateddude Рік тому +1

    Thanks for the video, keep going!

  • @aiswaryaknandakumar5482
    @aiswaryaknandakumar5482 2 роки тому +4

    You r great sir ♥️

  • @aiartistind
    @aiartistind 8 місяців тому +3

    45:36 int a and b entha ath evideya use akkiyathh

    • @BrototypeMalayalam
      @BrototypeMalayalam  8 місяців тому

      Join our Telegram group, our team will help you brototype.com/learningclub/org/fullstack/?ref=youtube%20malayalam

  • @muhammedhashirkk5915
    @muhammedhashirkk5915 3 роки тому +6

    Part 7 completed ❤️❤️

  • @Anagha_VK
    @Anagha_VK 3 роки тому +6

    Thank u soo much❤️
    Java ഒരു ബാലികേറാമല ആയിരുന്നു. Ithukanumbo ആണ് എല്ലാം മനസ്സിലാകുന്നത്..

  • @jelanmathewjames2579
    @jelanmathewjames2579 3 роки тому +4

    Should create a class object and call the appropriate function as user prefers in the main function ithinte meaning enthuva
    object enna class undakiyitt athil addition(), substraction(), multiplication() and division() enna function undaki ennit main functionil user kodukunna preference anusarich main ill call cheyuka ith ano

  • @faziyaasharaf486
    @faziyaasharaf486 10 місяців тому

    very useful class ,thank you

  • @sayoojk9442
    @sayoojk9442 4 роки тому +5

    please add details about array declaration and all other feature in java

  • @433creations9
    @433creations9 2 роки тому +2

    I will watch untill i will get an idea about thiss

  • @its4joe
    @its4joe 2 роки тому +3

    Assignment 7.1
    Q) Write a Java Program to Check User Entered Number is Prime or not ?
    //Default Package gets Error while Run the program, So i Created Custom one called 'prime', when creating Class;☺
    Answer 👇
    package prime;
    import java.util.Scanner;
    public class Prime {
    public static void main(String ar[]) {
    Scanner sc=new Scanner(System.in);
    System.out.println("Enter a Number");
    int Number=sc.nextInt();
    int flag=0;
    for(int i=2;i

    • @amalks5703
      @amalks5703 Рік тому

      Bro 1st assignment wrongaanu

  • @adilhashmi7608
    @adilhashmi7608 2 роки тому +2

    Assaignment 2
    ______________
    import java.util.Scanner;
    public class MathematicalOperations {
    public static void main(String ar[]) {
    System.out.print("Enter 2 Numbers :");
    Scanner s=new Scanner(System.in);
    int num1=s.nextInt();
    int num2=s.nextInt();
    System.out.println("Enter 1 For Addition"+ "
    Enter 2 For Substraction"+ "
    Enter 3 For Multiplication"+ "
    Enter 4 For Division");
    System.out.print("Choose An Option :");
    int c=s.nextInt();
    Function f1=new Function();
    if (c==1) {
    f1.addition(num1,num2);
    }
    else if (c==2) {
    f1.substraction(num1,num2);
    }
    else if (c==2) {
    f1.multiplication(num1,num2);
    }
    else if (c==4){
    f1.division(num1,num2);
    }
    else {
    System.out.println("---Invalid Option---");
    }
    }
    }
    CLASS "Name : Function"
    _______
    public class Function {
    void addition (int num1, int num2){
    int add=num1+num2;
    System.out.println("Result Is : "+add);
    }
    void substraction (int num1, int num2) {
    int sub=num1-num2;
    System.out.println(""+sub);
    }
    void multiplication (int num1, int num2) {
    int mul=num1*num2;
    System.out.println(""+mul);
    }
    void division (int num1, int num2) {
    int div=num1/num2;
    System.out.println(""+div);
    }
    }

  • @muneebgrace
    @muneebgrace 2 роки тому +4

    Assignment 1:
    import java.util.Scanner;
    public class PrimeNumberOrNot {
    public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);

    System.out.println("Enter a number");
    int Number=sc.nextInt();

    boolean isPrime=true;
    for(int i=2;i

  • @bhuvanviolin
    @bhuvanviolin 3 роки тому +10

    Wow! Finally, I completed this video. Thank you so much for your help.......

  • @donaldppaul3260
    @donaldppaul3260 3 роки тому +4

    By reading the description I understand that nikhil bro Isa sambavam

  • @CINEMAXX12
    @CINEMAXX12 10 місяців тому +2

    Example of class and object
    _________________
    package carmodel;
    import java.util.Scanner;
    public class smn {
    public static void main(String a[]) {
    Scanner num=new Scanner(System.in);


    Car volkswagen =new Car();
    Car toyota=new Car();
    volkswagen.model=2012;
    volkswagen.name= "polo";
    toyota.name="landcruiser";
    System.out.println("enter model number");
    int modeln =num.nextInt();
    toyota.model= modeln;

    System.out.println("which vehicle whant to check ");
    System.out.println("1:volkswagen ");
    System.out.println("2:toyota ");
    int choice =num.nextInt();
    switch(choice) {
    case 1 :
    System.out.println("name is "+volkswagen.name);
    System.out.println("model is "+volkswagen.model);
    if(volkswagen.model>2021) {
    System.out.println("this car is new ");
    }else {
    System.out.println("this car is old");
    }
    break;
    case 2:
    System.out.println("name is "+toyota.name);
    System.out.println("model is "+toyota.model);
    if(toyota.model>2021) {System.out.println("this car is new ");
    }else {System.out.println("this car is old");
    }
    }

    }
    }class Car{
    int model;
    String name;
    }
    ______________________
    enter model number
    2020
    which vehicle whant to check
    1:volkswagen
    2:toyota
    1
    name is polo
    model is 2012
    this car is old

  • @vidhyavidhu1587
    @vidhyavidhu1587 3 роки тому +3

    Super class... Thank you sir

  • @basithnizam
    @basithnizam Рік тому +6

    codeing padikkunnathinekalum paade IDE instal cheyyunnathanu

    • @BrototypeMalayalam
      @BrototypeMalayalam  Рік тому +1

      😅Join the Learning Club, our tech support will help you. Join here: brototype.com/learningclub/org/fullstack/?ref=ytdescription

    • @-POPEY-
      @-POPEY- Рік тому +3

      Sathyam🤧

    • @ahmedzuhair4355
      @ahmedzuhair4355 3 місяці тому

      Correct 💯🥵

    • @basithnizam
      @basithnizam 3 місяці тому

      @@ahmedzuhair4355 Use VS code

    • @vishnuvishnunv4516
      @vishnuvishnunv4516 2 місяці тому

      Arhe

  • @mohammedafthab4292
    @mohammedafthab4292 2 роки тому +2

    Thank you brototype. Its really helping out. hoping to finish this series in one more day.

    • @BrototypeMalayalam
      @BrototypeMalayalam  2 роки тому +1

      wonderful, join our telegram group if you haven't joined yet. so you can get free tech support to clear the doubts as well. join here :bit.ly/3QRbrri

  • @aiswarya4361
    @aiswarya4361 3 роки тому +12

    ഇതിനെക്കൾ നന്നായി oops concept ഒരാൾക്ക് പറഞ്ഞ് തരാൻ പറ്റുമെന്ന് എനിക്ക് തോന്നുന്നില്ല...Only things I wanto say You sir "THANKYOU"

  • @VishnuKGCherupuzha
    @VishnuKGCherupuzha 4 роки тому +1

    breakpoint set cheithu debug cheithu kanichal concept and flow kore koode easy aayi manasilaaville.

  • @saraarun4960
    @saraarun4960 2 роки тому +2

    Assignment 2:
    import java.util.Scanner;
    public class MathematicalOperation {
    public static void main(String ar[]) {
    Scanner sc=new Scanner(System.in);
    System.out.println("Enter 2 numbers : ");
    int num1=sc.nextInt();
    int num2=sc.nextInt();
    System.out.println("
    1 for Addition
    2 for Subtraction
    3 for Multiplication
    4 for Division
    \t Enter your selection: ");
    Function f1 = new Function ();
    int choice =sc.nextInt();
    switch(choice) {
    case 1:
    f1.sum(num1,num2);
    break;
    case 2:
    f1.sub(num1,num2);
    break;
    case 3:
    f1.multi(num1,num2);
    break;
    case 4:
    f1.divi(num1, num2);
    break;
    default:
    System.out.println("Wrong selection");
    }
    }}
    o/p
    Enter 2 numbers :
    2
    3
    1 for Addition
    2 for Subtraction
    3 for Multiplication
    4 for Division
    Enter your selection:
    1
    Resullt is:
    5

  • @adilhashmi7608
    @adilhashmi7608 2 роки тому +2

    Assaignment 1
    import java.util.Scanner;
    public class prime {
    public static void main(String ar[]) {
    System.out.print("Enter A Number :");
    Scanner s=new Scanner(System.in);
    int a=s.nextInt();
    int flag=0;
    for(int i=2; i

  • @nizampsy708
    @nizampsy708 Рік тому

    Challenging and interesting 🔥🔥

  • @viralshortszone8861
    @viralshortszone8861 3 місяці тому +2

    sir onlinegdb cheyyunnavar just java select cheythaal mathiyoo athoo java rhino angane eetheelm aano

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 місяці тому

      Join our Telegram group, our team will help you. Join here :brototype.com

  • @ednahome4002
    @ednahome4002 2 роки тому +41

    How about this?
    Class-> A family
    Object-> One of the family members
    🙂

    • @mufeeda463
      @mufeeda463 2 роки тому

      correct

    • @techs9994
      @techs9994 2 роки тому

      No i think..

    • @codestudy475
      @codestudy475 2 роки тому +1

      Object member1,member2 etc
      Then variable is name,age,gender,etc
      Right?

  • @mrrelentless8339
    @mrrelentless8339 Рік тому +1

    ASSIGNMENT NO:1
    import java.util.Scanner;
    public class Prime {
    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    System.out.println("Enter the number");
    int num1 = sc.nextInt();
    int flag=0;
    for(int i=2;i

  • @thasnia775
    @thasnia775 2 роки тому +4

    Hii
    Can you please consider automation testing classes soon

  • @muhammednawafmv
    @muhammednawafmv 2 роки тому +1

    assignment :1
    public class Assignment {
    int n,i,flag=0;
    void prime() {
    Scanner s=new Scanner(System.in);
    System.out.println("enter number");
    n=s.nextInt();
    if((n==0)||(n==1)) {
    System.out.println("not prime");
    }else {
    for(i=2;i

  • @mcgopan8634
    @mcgopan8634 2 роки тому +1

    ***Assignment 2 ***
    ***Type With OOP***
    import java.util.Scanner;
    public class MainFunction {
    public static void main(String ar[]) {
    // Conditions From ConditionClass
    ConditionClass CS1 = new ConditionClass();
    // Get Value From User
    System.out.println("Enter 2 Numbers : ");
    Scanner val = new Scanner(System.in);
    // Get Value InTo inp1 and inp2
    int inp1 = val.nextInt();
    int inp2 = val.nextInt();
    // User Choice
    System.out.println("Choose One
    1 for Addition
    2 for Subtraction
    3 for Multiplication
    4 for Division");
    int choice = val.nextInt();
    // Conditions
    switch (choice) {
    case 1: {
    int sum = CS1.add(inp1, inp2);
    System.out.println("Result : "+sum);
    break;
    }
    case 2: {
    int sub = CS1.sub(inp1, inp2);
    System.out.println("Result : "+sub);
    break;
    }
    case 3: {
    int mul = CS1.mul(inp1, inp2);
    System.out.println("Result : "+mul);
    break;
    }
    case 4: {
    int divi = CS1.divi(inp1, inp2);
    System.out.println("Result : "+divi);
    break;
    }
    default:
    System.out.println("Choose One Option From 1 To 4 : Try Again");
    }

    }
    }
    // Object//
    public class ConditionClass {
    static int add(int num1,int num2) {
    int sum = num1 + num2;
    return sum;
    }

    static int sub(int num1,int num2) {
    int sub = num1 - num2;
    return sub;
    }

    static int mul(int num1,int num2) {
    int mul = num1 * num2;
    return mul;
    }

    static int divi(int num1,int num2) {
    int divi = num1 / num2;
    return divi;
    }
    }

  • @shyammb
    @shyammb 2 роки тому +2

    Great effort

  • @abhishekIN365
    @abhishekIN365 2 роки тому

    sir, ingal super anu. thank you

  • @CS_Lectures
    @CS_Lectures 2 роки тому +1

    Very helpful 👍

  • @sarathcholakkal6485
    @sarathcholakkal6485 3 роки тому +3

    vere level dedication

  • @mcgopan8634
    @mcgopan8634 2 роки тому +1

    **Assignment 2 A **
    **Type Without OOP**
    import java.util.Scanner;
    public class FunctionSample {
    public static void main(String ar[]) {
    System.out.println("Enter 2 Numbers : ");
    Scanner nums = new Scanner(System.in);

    int num1 = nums.nextInt();
    int num2 = nums.nextInt();

    System.out.println("Choose One Condition
    1 for Addition
    2 for Subtraction
    3 for Multiplication
    4 Division Numbers : ");
    Scanner choose = new Scanner(System.in);

    int choice = choose.nextInt();

    switch (choice) {
    case 1: {
    int add = addition(num1, num2);
    System.out.println("Result : "+add);
    break;
    }
    case 2: {
    int sub = subtraction(num1, num2);
    System.out.println("Result : "+sub);
    break;
    }
    case 3: {
    int multi = multiplication(num1, num2);
    System.out.println("Result : "+multi);
    break;
    }
    case 4: {
    int divi = division(num1, num2);
    System.out.println("Result : "+divi);
    break;
    }
    default:
    System.out.println("Choose Anyone Between 1 To 4 : Try Again");
    }

    }

    static int addition(int num1,int num2) {
    int sum = num1 + num2;
    return sum;
    }
    static int subtraction(int num1,int num2) {
    int sub = num1 - num2;
    return sub;
    }
    static int multiplication(int num1,int num2) {
    int multi = num1 * num2;
    return multi;
    }
    static int division(int num1,int num2) {
    int divi = num1 / num2;
    return divi;
    }

    }

  • @fayaz4335
    @fayaz4335 4 роки тому +3

    sir value store cheyth run cheyuboll
    ignee kanikunnu.
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    scanner cannot be resolved to a type
    scanner cannot be resolved to a type
    system cannot be resolved to a variable
    at Sample.main(Sample.java:6)

  • @sharukpj5668
    @sharukpj5668 4 роки тому

    Easy to understand...thank you so much bro...

  • @DoesItWorksOFFICIAL
    @DoesItWorksOFFICIAL 2 роки тому +3

    Prime or Not :
    import java.util.Scanner;
    public class PrimeOrNot {

    public static void main(String ar[]) {
    System.out.println("Enter a number : ");
    Scanner s=new Scanner(System.in);
    int num=s.nextInt();

    int flag=0;

    for(int i=2; i

    • @ayishakv8356
      @ayishakv8356 Рік тому

      Idhil 4 koduthal prime enn answer kittum so I

  • @amalshajan3703
    @amalshajan3703 2 роки тому +5

    Assibnment 1:
    import java.util.Scanner;
    public class prime {
    public static void main(String a[])
    {
    System.out.println("enter a number");
    Scanner s=new Scanner(System.in);
    int num=s.nextInt();
    int flag=0;
    for(int i=1;i

  • @nabahak6673
    @nabahak6673 3 роки тому +1

    perfect class .....

  • @asifsaheer4144
    @asifsaheer4144 3 роки тому +5

    package menu;
    import java.util.Scanner;
    public class sample {
    public static void main(String ar[]) {
    Scanner c=new Scanner(System.in);
    System.out.println("enter two numbers");
    int a=c.nextInt();
    int b=c.nextInt();
    hello s=new hello();
    System.out.println("choose a number 1.addition 2.multiplication 3.subtraction 4.division");
    int r=c.nextInt();
    if(r==1) {
    s.addition(a,b);
    }
    else if(r==2){
    s.multiplication(a,b);
    }
    else if(r==3){
    s.subtraction(a, b);
    }
    else if(r==4){
    s.division(a, b);
    }
    else{
    System.out.println("enter a valid number");
    }
    }
    }
    package menu;
    public class hello {
    static void addition(int num1,int num2) {
    int add;
    add=num1+num2;
    System.out.println("addition :"+add);
    }
    void multiplication(int num1,int num2) {
    int mul;
    mul=num1*num2;
    System.out.println("multiplication :"+mul);
    }
    void subtraction(int num1,int num2) {
    int sub;
    sub=num1-num2;
    System.out.println("subtraction :"+sub);
    }
    void division(int num1,int num2) {
    int div;
    div=num1/num2;
    System.out.println("division :"+div);
    }
    }

    • @asifsaheer4144
      @asifsaheer4144 3 роки тому

      package menu;
      public class hello {
      static void addition(int num1,int num2) {
      int add;
      add=num1+num2;
      System.out.println("addition :"+add);
      }
      void multiplication(int num1,int num2) {
      int mul;
      mul=num1*num2;
      System.out.println("multiplication :"+mul);
      }
      void subtraction(int num1,int num2) {
      int sub;
      sub=num1-num2;
      System.out.println("subtraction :"+sub);
      }
      void division(int num1,int num2) {
      int div;
      div=num1/num2;
      System.out.println("division :"+div);
      }
      }

  • @narendranpiano
    @narendranpiano 3 роки тому +9

    Hi Sir ...Could you explain how to write arrays in Java programming? If you could explain it, it would be very helpful. Your classes are amazing. I´m from Mavelikara and now I live in Spain and I´m a musician. I´ve been thinking to study coding for many years. When I started watching your videos, I could fulffill my ambition forever. Especially at this time, I have to find another job in order to stay here as there are no live music programms. You really give me a good path in my life. Millions of Thanks.

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому +10

      Array declaration and instantiation in java
      int a[]=new int[5];
      Its our pleasure to help you guys to learn.
      All the best ❤️

    • @narendranpiano
      @narendranpiano 3 роки тому +1

      @@BrototypeMalayalam Thanks a lot for replaying me.....Best Regards.......

  • @ajmalm9021
    @ajmalm9021 5 років тому +7

    1:14:34 😘😘🥰🥰

  • @vkpn________6914
    @vkpn________6914 2 роки тому +2

    sir, I have completed watching 7/10 your 100k coding challenge !! these videos are very useful for me!! I am soo thankful to you !!
    I would like to ask you one doubt!! since from the beginning I am practicing using online gdb compiler !!
    but from the bigining of java I am facing some trouble in using that especially sample object problem!!
    can you recommend some better java compiler in online

    • @BrototypeMalayalam
      @BrototypeMalayalam  2 роки тому

      Just search for online compiler on Google, and pick one which suits you

  • @AswanthSKrishna
    @AswanthSKrishna 9 місяців тому +1

    Assignment Q2:-
    import java.util.Scanner;
    public class Basic {

    public static void main(String ar[]) {
    Scanner s=new Scanner(System.in);
    System.out.println("Enter two numbers");

    int num1=s.nextInt();
    int num2=s.nextInt();

    System.out.println("Choice:
    1-Addition
    2-Subtraction
    3-Multiplication
    4-Division");

    int choice=s.nextInt();
    Operation o=new Operation();

    switch(choice) {

    case 1:
    o.sum(num1, num2);
    break;
    case 2:
    o.sub(num1, num2);
    break;
    case 3:
    o.mul(num1, num2);
    break;
    case 4:
    o.div(num1, num2);
    break;
    default:
    System.out.println("Wrong choice");

    }
    }
    }
    (New Class):-
    public class Operation {

    int sum(int a, int b){
    int c=a+b;
    System.out.println("Result:"+c);
    return c;
    }

    int sub(int a, int b) {
    int c=a-b;
    System.out.println("Result:"+c);
    return c;
    }

    int mul(int a,int b) {
    int c=a*b;
    System.out.println("Result"+c);
    return c;
    }

    float div(float a, float b) {
    float c=a/b;
    System.out.println("Result:"+c);
    return c;
    }
    }

    • @naufanff8759
      @naufanff8759 7 місяців тому

      Bro ith phone il onlinegdb vazhi cheyyaan pattuo

    • @AswanthSKrishna
      @AswanthSKrishna 6 місяців тому

      @@naufanff8759 Try cheythittilla bro ith Eclipse IDE ila cheythe. Pakshe Onlinegdb il class creation okke pattum njn ath use aakkiyittillathond crct way ariyilla.

    • @muhammedshahaln7519
      @muhammedshahaln7519 5 місяців тому

      @@naufanff8759 bro play storil c-compiler enna oru app und ... Athil coding cheyyan kayiyum

  • @suspoocha
    @suspoocha 2 роки тому +3

    1:14:40 ived ethiyappo samyam ethrayinn nokkunna njan 2.50 am

  • @elliotkkd8961
    @elliotkkd8961 2 роки тому +1

    _Menu Driven Calc Assaignment_
    public class Sample {
    public static void main(String ar[]) {
    System.out.println("Enter Two Numbers");
    Scanner s=new Scanner(System.in);

    int num1=s.nextInt();
    int num2=s.nextInt();

    System.out.println("1 for Addition
    2 for Substractin
    3 for multiplication
    4 for division");
    try (Scanner in = new Scanner(System.in)) {
    Hello s1= new Hello();


    int r=in.nextInt();
    if(r==1) {
    Hello.addition(num1,num2);
    }
    else if(r==2) {
    s1.substraction(num1,num2);
    }
    else if(r==3) {
    s1.multiplication(num1,num2);
    }
    else if(r==4) {
    s1.division(num1,num2);
    }
    else {
    System.out.println("enter a valid number");
    }
    }
    }
    ------------------------------------------------------------------------------------------------------------
    _class_
    static void addition(int num1,int num2) {
    int add;
    add=num1+num2;

    System.out.println("Result is:"+add);
    }
    void substraction(int num1,int num2) {
    int sub;
    sub=num1-num2;

    System.out.println("Result is:");

    }
    void multiplication(int num1,int num2) {
    int mul;
    mul=num1*num2;

    System.out.println("Result is:"+mul);
    }
    void division(int num1,int num2) {
    int div;
    div=num1/num2;

    System.out.println("Result is:"+div);
    }

  • @lyjoj4738
    @lyjoj4738 4 роки тому +3

    I can't find File>New > Java Project ( In Java - Eclipese IDE)
    i have download and install the file (eclipse-jee-2020-06-R-win32-x86_64)
    System shows File>New>Maven Project shows
    Please assist
    Waiting for your kindness at the earliest

    • @lyjoj4738
      @lyjoj4738 4 роки тому

      Got it. Thanks a lot
      import java.util.Scanner;
      public class First {
      public static void main(String ar[]) {
      int iFirst=0, iSecond =0,iResult =0;
      Scanner s =new Scanner(System.in );
      System.out.println("Enter 2 Numbers");
      iFirst = s.nextInt();
      iSecond = s.nextInt();
      iResult = iFirst+iSecond;
      System.out.println("Sum of " + iFirst + "+" + iSecond +"="+ iResult);
      }

      }

    • @simonjose811
      @simonjose811 4 роки тому +2

      Same error
      How did you resolve this issue?

    • @anase4646
      @anase4646 3 роки тому +1

      Me also same problem

  • @salme4594
    @salme4594 2 роки тому +3

    Amazing presentation god bless you sir

  • @shejijosephsheji3346
    @shejijosephsheji3346 4 роки тому +9

    prime or not in java
    import java.util.Scanner;
    public class Prime {
    public static void main(String ai[])
    {
    Scanner s=new Scanner(System.in);
    int a,flag=0;
    System.out.print("enter a no
    ");
    a=s.nextInt();
    for(int i=2;i

    • @fun_childdhood
      @fun_childdhood 4 роки тому

      try to make it more short, there are a lot of unnecessary code in there + i don't think this will work in all cases.

  • @MalaparambaMonkey
    @MalaparambaMonkey 3 роки тому +2

    At 1:03:20 I'm getting ERROR as "a and b cannot bee resolved or isn't a field" 🙁🙁 why?

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому

      connect our team 7034395811, our team will help you 👍🏼

  • @faisalthankayathil8434
    @faisalthankayathil8434 3 роки тому +4

    നല്ല ക്ലാസ് .ലളിതമായ അവതരണം .ആർക്കും മനസ്സിലാകും . Thanks sir..SQL ന്റെ ക്ലാസ് കൂടി ഇടുമോ

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому +1

      thank you 👍🏼 sure, we can think about that 👍🏼

  • @ananthakrishnan2292
    @ananthakrishnan2292 2 роки тому +2

    sir, java elipse install aayi but ath open aakumbl ithepole varunnilla pazhaya C yude interface aa kidakkunne

  • @logicalthinkers7339
    @logicalthinkers7339 3 роки тому +1

    object1.calculateSum mistake vannathethayalum nannayi valiyoru doubt angand solve aaaayi😊😊😊😊😊

  • @AswanthSKrishna
    @AswanthSKrishna 10 місяців тому

    Assignment Q1:-
    import java.util.Scanner;
    public class Prime {
    public static void main(String p[]) {

    Scanner s=new Scanner(System.in);

    System.out.println("Enter a number");

    int n=s.nextInt();
    int flag=0;


    for (int i=2;i

  • @shahinsha8117
    @shahinsha8117 4 роки тому +7

    Dedication level 🌠

  • @YadhulMohan
    @YadhulMohan Рік тому +1

    java applet ne kurich video iduo