Java Programming - OOP Practices

  Рет қаралды 262,718

Awais Mirza

Awais Mirza

Күн бұрын

Пікірлер: 147
@yeshvanthkurapati2740
@yeshvanthkurapati2740 3 жыл бұрын
Class -3:10 Constructor -10:15 Objects -16:00 Access modifiers - Static keyword - Method overloading -21:10 Method overriding - Inheritance -44:20 Polymorphism -58:20 Abstraction -1:10:45 Interfaces -1:16:54 Encapsulation - Using built in Classes -
@isurumaldeniya2463
@isurumaldeniya2463 3 жыл бұрын
thank you
@ahmadhakimi6951
@ahmadhakimi6951 3 жыл бұрын
Appreciate it brother! thanks
@jabsha8405
@jabsha8405 3 жыл бұрын
Thanks buddy..❤️
@anandjat5326
@anandjat5326 6 жыл бұрын
I am learning Java by Udemy and Plural sight but your way of teaching in this OOPS concept is pretty impressive. Thanks for Sharing your Lecture here. Highly appriciated.
@hafizaramshamushtaq673
@hafizaramshamushtaq673 5 жыл бұрын
I'm learning java from udemy . After watching udemy videos regarding inheritance and polymorphism my concepts were vague but after watching your video my concepts became crystal clear.You are doing an awesome job man ,your way of teaching is very simple and easy . Keep making more videos .Thumbs up (y)
@DeepakKumar-ty9ge
@DeepakKumar-ty9ge 4 жыл бұрын
Delhi is still far dear😂
@felixkimutai8478
@felixkimutai8478 6 жыл бұрын
You're the best tutor so far, I like the way you're explaining the basics, thanks
@pst4rock
@pst4rock 7 жыл бұрын
39:43 public static void int getCount(){ //return this.count; - don't work return Vehicle.count; // it's work }
@timothymeagher6445
@timothymeagher6445 7 жыл бұрын
39:43 Either of these functions work. Do not use void public static int getCount(){ return count; } public static int getCount(){ return Vehicle.count; } System.out.println(Vehicle.getCount()); //output: 1 or 2 System.out.println(Vehicle.count()); //output: 1 or 2
@JupiiPP
@JupiiPP 5 жыл бұрын
Best video about OOP I saw, very clearly explained , thx :)
@Ujjal.0011
@Ujjal.0011 4 жыл бұрын
You can declare the static variable in the Vehicle class like - private static int numberOfVehicles = 0; and use the method like- public static int getNumberOfVehicles() { return numberOfVehicles; } You can call the method in main() like- System.out.println(Vehicle.getNumberOfVehicles());
@adrianb3507
@adrianb3507 6 жыл бұрын
I don't what he said at 41:00, but you can certainly create a getter method for static variables, instead of returning this.count, just return count. I liked the video, mostly! =}
@ihsandag7405
@ihsandag7405 4 жыл бұрын
Bro, thanks! I assure everyone so that this is the best video to understand OOP by seeing codes.
@emrecan3972
@emrecan3972 3 жыл бұрын
başka kanal video tavsiyesi yapabilir misin hocam hepsini izlerim lütfen büte kaldım da
@essamussa4345
@essamussa4345 5 жыл бұрын
Really superb.. tomorrow is my exam.. this effort of yours helped me alot thanx.
@rohit.1232
@rohit.1232 6 жыл бұрын
I am looking for java project u make my task very esy thanks bro.....
@edisyldz
@edisyldz 2 жыл бұрын
I am student in a university my teacher told me many thing about OOP but it was not benefit for me like your tutorial thank you man
@mohammadrafi2908
@mohammadrafi2908 6 жыл бұрын
you can set and get the values by going to source on the top left and clicking on generate getters and setters instead of typing it out. Select all the properties you want to have getters and setters.
@amangoswamifitlife
@amangoswamifitlife 4 жыл бұрын
it is the best oops tutorial on the entire youtube channel
@tikarobinson9335
@tikarobinson9335 5 жыл бұрын
Thank you so much for making this video, I understand it so much better
@erikageorgia5956
@erikageorgia5956 3 жыл бұрын
The explanations is good. Need in enhancing in abstract and interface. Very insightful video.
@Daniiel-AR
@Daniiel-AR 5 жыл бұрын
I'm Mexican. I'm learning Programmation and I reprobated a exam. This video could save me.
@shrangisoni8758
@shrangisoni8758 6 жыл бұрын
This was amazing and so clear..thanks i needed this
@zanastumasonis
@zanastumasonis 4 жыл бұрын
one of the best java explanations out there
@ralphruiz2120
@ralphruiz2120 6 жыл бұрын
My friend the way you showed these concepts was awesome, everything made sense. Sorry posting really late xD
@ashutoshpatil26
@ashutoshpatil26 6 жыл бұрын
I have read many Articles to understand this concept but you rocked it man thnks
@ankur1449
@ankur1449 3 жыл бұрын
Your teaching way is amazing sir 🥰🥰🤩🤩🥳🥳
@sk3ptik0s49
@sk3ptik0s49 3 жыл бұрын
Pretty good tutorial, you are a good teacher Awais, thanks and looking forward for more.
@SuperSmilekhan
@SuperSmilekhan 6 жыл бұрын
You have done a superb job...thanks a lot for this tutorial...can you create android tutorials?
@SmartProgramming
@SmartProgramming 6 жыл бұрын
superb sir, hats off to you, thank you 👍👍👍👍🙂🙂🙂🙂
@fastislivee
@fastislivee 4 жыл бұрын
Helped me clear my basics! Great content,thanks a lot.
@World_Forest
@World_Forest 3 жыл бұрын
Great video, good Job Awais Mirza God bless u and stay Safe
@yomeustaquio2246
@yomeustaquio2246 5 жыл бұрын
This is great. I really appreciate your effort in making this video.
@eraiarasanmca5717
@eraiarasanmca5717 2 жыл бұрын
wow, what a teaching! thanks for you great teaching
@ganeshreddy1371
@ganeshreddy1371 4 жыл бұрын
Too many adds.......but good content.........thank you for the video brother................
@sandeeprasali
@sandeeprasali 3 жыл бұрын
Very Comprehensive!! keep it up!
@Plaguer_agent
@Plaguer_agent 3 жыл бұрын
well done , if you also give us complete coded file of this training in link add will be very good to see all code at once .
@thienngo2953
@thienngo2953 3 жыл бұрын
Thank you so much. You save my day.
@d4r13n_9
@d4r13n_9 2 жыл бұрын
Great video, I learned quite a lot ..
@torabchotu3422
@torabchotu3422 7 жыл бұрын
Very nice video understood almost everything...
@igihara2662
@igihara2662 7 жыл бұрын
58:08 seem doesn' work for me.. I can't call this method back .. :( it shows error: "getLedScreen() is undefined for the type Vehicle" in main.java anyway.. i learn Java for 3 weeks now.. thanks for effort plus good work Mirza!!
@TheNewlyEmerging
@TheNewlyEmerging 7 жыл бұрын
Visit the channel and see the latest video, It's an IBM certified Java project . Please give your precious reviews and it will be really appreciated. Thanks in advance.
@toleranceedwardnyakabau773
@toleranceedwardnyakabau773 5 жыл бұрын
nice tutorial...it really impressive
@swayambhubapurohit5803
@swayambhubapurohit5803 7 жыл бұрын
Dear sir what is best way to create online ticket booking or online bank transition where is very heavy traffic comes and how to maintain synchronization and multiple thread comes.
@soufianghalb8679
@soufianghalb8679 4 жыл бұрын
Thank you so much, this tutorial is very clear
@AwaisMirza1
@AwaisMirza1 4 жыл бұрын
Glad to hear that!
@harshaljogdand8237
@harshaljogdand8237 2 жыл бұрын
Thanks for giving this knowledge 🙏
@uzairbinbaber6164
@uzairbinbaber6164 4 жыл бұрын
thank you very much this help me a lot...
@selvaganesh9791
@selvaganesh9791 4 жыл бұрын
Contents are so clear but i want to know about aggregation in oop
@sweetsisters8164
@sweetsisters8164 4 жыл бұрын
Sir if write Vehicle2.count??then it will be reflected or not?
@陈瀚龙
@陈瀚龙 5 жыл бұрын
I'm not using my ide, but shouldn't matter. I have a package oop. Inside, the public class main.java with boiler plate and Vehicle object created. I have Vehicle.java with same public fields, public constructor, BUT if I declare these files as part of the oop package, it still can't find Vehicle. If I remove it, the code compiles and runs fine. What am I missing! It only works if I don't add package oop; at the beginning.
@avimehta5819
@avimehta5819 5 жыл бұрын
Thank you so much! helped a lot
@SalihAbi1
@SalihAbi1 3 жыл бұрын
That was very helpful. Thanks a lot! I appriciated.
@emrecan3972
@emrecan3972 3 жыл бұрын
başka kanal video tavsiyesi yapabilir misin hocam hepsini izlerim lütfen büte kaldım da
@InformativeVideoChannel
@InformativeVideoChannel 7 жыл бұрын
sir, we can make calculator in this program, and we can make profarma using such program, to make a template for civil engineering purposes, using for estimation, etc
@AwaisMirza1
@AwaisMirza1 7 жыл бұрын
+Hanzalla Khan yes of course
@barshabhattacharjee6788
@barshabhattacharjee6788 4 жыл бұрын
For more visit : kzbin.info/www/bejne/p2O1mHl-ZteDpdU
@markdanielbisac2320
@markdanielbisac2320 5 жыл бұрын
Sir, what is the software application that you used in this java oop?
@sharifmusa714
@sharifmusa714 4 жыл бұрын
this was amazing and so clear thanks i date this
@adrianb3507
@adrianb3507 6 жыл бұрын
Also, some of the stuff towards the end is just wrong. From Oracle's Java Documentation: An abstract class is a class that is declared abstract-it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed.
@whatsapwhatsapp662
@whatsapwhatsapp662 3 жыл бұрын
very true
@susantanandaofknow6040
@susantanandaofknow6040 6 жыл бұрын
i like your teaching.
@Naturally_Aesthetics
@Naturally_Aesthetics 7 жыл бұрын
Now, from where can i find more questions on oop to practice...can you share some link ...
@ufotofu9
@ufotofu9 6 жыл бұрын
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/mitseu.files.wordpress.com/2014/08/java-the-complete-reference-ninth-editiona4.pdf
@Duderantula
@Duderantula 3 жыл бұрын
Thank you, great video
@surajmahtosbg
@surajmahtosbg 7 жыл бұрын
sir,.how to practice java collections and program. plz give me hints
@matthewsnyder1079
@matthewsnyder1079 4 жыл бұрын
This was amazing god bless.
@redelization
@redelization 5 жыл бұрын
thanks this was very good content.
@AdityaXingh
@AdityaXingh 3 жыл бұрын
Perfect for an automobile engineer trying to get into an it company 😂😂
@Pontification
@Pontification 3 жыл бұрын
Thanks for this video.
@kombosto
@kombosto 3 жыл бұрын
good work! thank you!
@bagzhansadvakassov1093
@bagzhansadvakassov1093 4 жыл бұрын
Mirza in kazakh means "Sir, Mr.".
@barshabhattacharjee6788
@barshabhattacharjee6788 4 жыл бұрын
For more visit: kzbin.info/www/bejne/rZPViKOqYpKWndk
@kprealsoccer3752
@kprealsoccer3752 5 жыл бұрын
Helpful but too many ads man
@torabchotu3422
@torabchotu3422 7 жыл бұрын
Please add "object oriented analysis and design" video soon thank you.
@AwaisMirza1
@AwaisMirza1 7 жыл бұрын
Sure :)
@ehteshamkhan5840
@ehteshamkhan5840 4 жыл бұрын
03:29
@prateeksinghal630
@prateeksinghal630 5 жыл бұрын
Great Video!
@adrianb3507
@adrianb3507 6 жыл бұрын
Although his speech is clear and the content is good, he misses important points about OOP. The information someone is looking to learn when they search for OOP is not here. He shows the mechanics, but does not explain the reason. For example, do you know why you use 'getters' and 'setters rather than just accessing the fields in the class directly?: He only said 'security'... Actually he can add: Allows code to be maintained and changed. The implementation details in the class can be changed, and the getter can change to accomodate this. This means the file with the main would not need any changes.
@Ved3sten
@Ved3sten 5 жыл бұрын
Ya the "security" thing is something that my professors in Data Structures also said. My only understanding is that having designated getters and setters makes code more understandable since you won't be the only person working with a specific Class or file. Look at it this way: If you had a massive program that pulled Classes from 4 different files, rather than witch hunting at trying to go through each file to change reference and member variables, getters and setters allow you to make these changes without messing something up.
@isurumaldeniya2463
@isurumaldeniya2463 3 жыл бұрын
it is better if you can add a time map
@rakeshkota9614
@rakeshkota9614 7 жыл бұрын
Hello bro! iam btech 2year student we have a subject object oriented programming through java can i get basics from your channel
@AwaisMirza1
@AwaisMirza1 7 жыл бұрын
You will learn all the basic knowledge of OOP from this video. You can checkout other java video on my channel. kzbin.info/aero/PLz5rnvLVJX5X-uNw75cIE7JeRmFEUsDTn
@TheNewlyEmerging
@TheNewlyEmerging 7 жыл бұрын
Visit the channel and see the latest video, It's an IBM certified Java project . Please give your precious reviews and it will be really appreciated. Thanks in advance.
@acme-1889
@acme-1889 3 жыл бұрын
Thanks it was great
@bernardchisumo4054
@bernardchisumo4054 7 жыл бұрын
What IDE are u using
@ahuynh359
@ahuynh359 7 жыл бұрын
Bernard Robert that's eclipse
@TheNewlyEmerging
@TheNewlyEmerging 7 жыл бұрын
Visit the channel and see the latest video, It's an IBM certified Java project . Please give your precious reviews and it will be really appreciated. Thanks in advance.
@bulletproof6259
@bulletproof6259 6 жыл бұрын
thanks for your knoweldge
@5s4l1p1fcw
@5s4l1p1fcw 5 жыл бұрын
Am I the only one seeing so many ads in this video? Every 3 - 4 minutes, there's a guy selling Java certification, it's so distracting!
@abdulhafeez6355
@abdulhafeez6355 5 жыл бұрын
The best solution is to download the video and watch it offline no disturbance
@5s4l1p1fcw
@5s4l1p1fcw 5 жыл бұрын
@@abdulhafeez6355 Thank you!
@kandarppatel3407
@kandarppatel3407 6 жыл бұрын
Why do we use interface
@cristianhoyos4767
@cristianhoyos4767 6 жыл бұрын
Basically just to implement a way of inversion of control that is called dependency inversion whose implementation allows us to decouple our code. That is our code depend over abstractions rather than concrete classes.
@farmanzia8078
@farmanzia8078 5 жыл бұрын
nice way and impressive
@dantewhite1818
@dantewhite1818 5 жыл бұрын
It's fucking insane I'm getting an ad every 10 minutes
@pramha30
@pramha30 5 жыл бұрын
Loved it.
@sanketchavan121
@sanketchavan121 7 жыл бұрын
good job
@InformativeVideoChannel
@InformativeVideoChannel 7 жыл бұрын
sir, it would be your kind regard if you make tutorial related to my question, or how to make a barbinding schedule in excel using jawa, i saw a spreadsheet in youtube, where he puts the values and give a very complicated result
@toharpingley6176
@toharpingley6176 7 жыл бұрын
Can you share a zip file includes certain kinds of java problems and their solutions? it will very help, thanks!
@deeproy7292
@deeproy7292 7 жыл бұрын
this keyword tells about the current object
@uz1pk
@uz1pk 5 жыл бұрын
Super helpful
@azouzatitallah563
@azouzatitallah563 11 ай бұрын
source code svp ??? !!
@ehteshamkhan5840
@ehteshamkhan5840 4 жыл бұрын
3:30
@wholalawholala2503
@wholalawholala2503 7 жыл бұрын
the program itself is difficult making it difficult to understand.. 1 or two classes would be better..
@sagemulkey9890
@sagemulkey9890 6 жыл бұрын
Thank you
@mirzasetiyono8919
@mirzasetiyono8919 5 жыл бұрын
what is wikel wikel1 wikel2
@JEBJOSH
@JEBJOSH 5 жыл бұрын
😂😂
@torabchotu3422
@torabchotu3422 7 жыл бұрын
Well.. You forgot to add object oriented analysis and design video...
@AwaisMirza1
@AwaisMirza1 7 жыл бұрын
It takes time to prepare and then create. I will create soon.
@TheNewlyEmerging
@TheNewlyEmerging 7 жыл бұрын
Visit the channel and see the latest video, It's an IBM certified Java project . Please give your precious reviews and it will be really appreciated. Thanks in advance.
@curiousenough5906
@curiousenough5906 6 жыл бұрын
Are those videos available now?
@markymarco2570
@markymarco2570 6 жыл бұрын
Awais Mirza Hi! Where is it, please?
@basiklit4347
@basiklit4347 4 жыл бұрын
It's pronounced Vehicle not wicle
@santosgabriel6688
@santosgabriel6688 4 жыл бұрын
Put video on 1.25× speed,thank me later;)
@devarasettysaikrishnavamsh6485
@devarasettysaikrishnavamsh6485 8 жыл бұрын
change subtitle color
@sheikhfahadelahi5225
@sheikhfahadelahi5225 3 жыл бұрын
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Final; import static Final.BankLoan.getDefaultInterestRate; import java.util.Objects; /** * * @author DSU */ public abstract class BankLoan { private static final double DEFAULT_INTEREST_RATE = 5.00; public abstract double getInterestRate(); protected static double getDefaultInterestRate() { return DEFAULT_INTEREST_RATE; } } class BankPrivateLoan extends BankLoan { private final String nameOfPerson; public BankPrivateLoan(final String nameOfPerson) { this.nameOfPerson = Objects.requireNonNull(nameOfPerson); } @Override public double getInterestRate() { return getDefaultInterestRate(); } public String getNameOfPerson() { return this.nameOfPerson; } } class BankBusinessLoan extends BankLoan { private static final double INTEREST_DISCOUNT = 2.00; private final String nameOfBusiness; public BankBusinessLoan(final String nameOfBusiness) { this.nameOfBusiness = Objects.requireNonNull(nameOfBusiness); } @Override public double getInterestRate() { return getDefaultInterestRate() - INTEREST_DISCOUNT; } public String getNameOfBusiness() { return this.nameOfBusiness; } } class Main { public static void main(String[] args) { BankPrivateLoan PLoan = new BankPrivateLoan("Fahad Sheikh"); System.out.println("Private Loan taker name: " + PLoan.getNameOfPerson() + ", " + "Interest Rate: " + PLoan.getInterestRate()); BankBusinessLoan BLoan = new BankBusinessLoan("Great Business Ltd"); System.out.println("Business name: " + BLoan.getNameOfBusiness() + ", " + "Interest Rate: " + BLoan.getInterestRate()); } }
@nd3267
@nd3267 6 жыл бұрын
Thats 51 days not 100 days
@joybandopadhyay2557
@joybandopadhyay2557 8 жыл бұрын
very nice vid
@sheikhfahadelahi5225
@sheikhfahadelahi5225 3 жыл бұрын
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Final; /** * * @author DSU */ public class Name { private String firstName; public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getMiddlename() { return middlename; } public void setMiddlename(String middlename) { this.middlename = middlename; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } private String middlename; private String lastName; Name(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } Name(String firstName, String middleName, String lastName) { } public class Address { private String house_No; public void setHouse_No(String house_No) { this.house_No = house_No; } public void setStreet_No(String street_No) { this.street_No = street_No; } public void setArea(String area) { this.area = area; } public void setCity(String city) { this.city = city; } public void setCountry(String country) { this.country = country; } private String street_No; private String area; private String city; private String country; Address(String hNo, String sNo, String a1, String c, String ct) { this.house_No = hNo; this.street_No = sNo; this.area = a1; this.city = c; this.country = ct; } public String getHouse_No() { return house_No; } public String getStreet_No() { return street_No; } public String getArea() { return area; } public String getCity() { return city; } public String getCountry() { return country; } public class Phone { private int cityCode; public void setCityCode(int cityCode) { this.cityCode = cityCode; } public void setNumber(int number) { this.number = number; } public int getCityCode() { return cityCode; } public int getNumber() { return number; } private int number; Phone(int cC, int Num) { this.cityCode = cC; this.number = Num; } } public class Person { private String name; private String phone; private String address; public Person(String name, String phone, String address) { this.name = name; this.phone = phone; this.address = address; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } } } static class Test { public static void main(String[] args) { Name n1 = new Name(); } } }
@joybandopadhyay2557
@joybandopadhyay2557 8 жыл бұрын
sorry had to switch to hd
@AwaisMirza1
@AwaisMirza1 8 жыл бұрын
:)
@vadivel4846
@vadivel4846 4 жыл бұрын
Thanks, ..
@iuno777
@iuno777 7 жыл бұрын
"whikl" :D
@ahmadalghali90
@ahmadalghali90 5 жыл бұрын
🤣🤣😂😂😂
@ManojSingh-gv2kz
@ManojSingh-gv2kz 6 жыл бұрын
good
@jameer9909
@jameer9909 7 жыл бұрын
if program is simple it will be better to understand.
@AwaisMirza1
@AwaisMirza1 7 жыл бұрын
I explained in simplest way.
Java Programming - Data Structure and Algorithms in Java
3:18:07
Awais Mirza
Рет қаралды 416 М.
Java Programming - Solve Programming Problems
1:14:22
Awais Mirza
Рет қаралды 276 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Java Programming - Practice Recursion Problems
45:39
Awais Mirza
Рет қаралды 99 М.
Object-Oriented Programming, Simplified
7:34
Programming with Mosh
Рет қаралды 4,1 МЛН
An Evidence Based Guide to Remember Everything You Read
1:40:31
Justin Sung
Рет қаралды 12 М.
Intro to Java Programming - Course for Absolute Beginners
3:48:25
freeCodeCamp.org
Рет қаралды 3,6 МЛН
Intro to Object Oriented Programming - Crash Course
30:18
freeCodeCamp.org
Рет қаралды 989 М.
Why We Feel Guilty When It’s Not Our Fault
5:05
Limitless Ideas
Рет қаралды 33
C# Crash Course: Learn C# Programming from Scratch
1:40:42
Awais Mirza
Рет қаралды 580