//********************************************* public class Main { public static void main(String[] args) {
// method overriding = Declaring a method in sub class, // which is already present in parent class. // done so that a child class can give its own implementation
Animal animal = new Animal(); Dog dog = new Dog();
dog.speak();
} } //********************************************* public class Animal { void speak() { System.out.println("The animal speaks"); } }//********************************************* public class Dog extends Animal{ @Override void speak() { System.out.println("The dog goes *bark*"); } } //*********************************************
Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked: Who is Jesus? Not who is He to you. Rather, who is He really? Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth. On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation. So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him. Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God. You are dead, and Jesus is your Hope of love. Acts 15:11 ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are." Ephesians 1:7 ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace" Ephesians 2:8 ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,” John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?' 1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power." Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
@@BroCodez Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked: Who is Jesus? Not who is He to you. Rather, who is He really? Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth. On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation. So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him. Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God. You are dead, and Jesus is your Hope of love. Acts 15:11 ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are." Ephesians 1:7 ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace" Ephesians 2:8 ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,” John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?' 1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power." Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
@@BroCodez I've watched most of your Java videos I still have a few to go. The 4 hours of gui took me like 8 hours to get through but was very beneficial. Keep doing what your doing bro you have no idea how much you are helping some people achieve their goals.
Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked: Who is Jesus? Not who is He to you. Rather, who is He really? Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth. On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation. So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him. Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God. You are dead, and Jesus is your Hope of love. Acts 15:11 ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are." Ephesians 1:7 ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace" Ephesians 2:8 ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,” John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?' 1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power." Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
Wow! I failed a project last week and my teacher told me to re-do my project to pass it before going to the next module and I'm not gonna lie... I failed it hard at 30% and couldn't grasp anything about it. You made it so clear with this video that now my codes are all working like they should. Now, I should pass this project. I always come back to your videos because I just don't understand my teacher and you explain so well. Thank you!!!
//*********************************************
public class Main {
public static void main(String[] args) {
// method overriding = Declaring a method in sub class,
// which is already present in parent class.
// done so that a child class can give its own implementation
Animal animal = new Animal();
Dog dog = new Dog();
dog.speak();
}
}
//*********************************************
public class Animal {
void speak() {
System.out.println("The animal speaks");
}
}//*********************************************
public class Dog extends Animal{
@Override
void speak() {
System.out.println("The dog goes *bark*");
}
}
//*********************************************
I have an important question: why do we override methods in java if we can create a new method in sub class with a different name??
holy sh... i thought that @override is a keyword that really does something but its not even necessary haha tnx 4 the explanation bro good job
thanks for watching gleford.
Yeah it's considered good practice to add @Override, but I always forget 😂
Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
Who is Jesus? Not who is He to you. Rather, who is He really?
Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him.
Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God.
You are dead, and Jesus is your Hope of love.
Acts 15:11
”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
Ephesians 1:7
”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
Ephesians 2:8
”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
@@BroCodez Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
Who is Jesus? Not who is He to you. Rather, who is He really?
Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him.
Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God.
You are dead, and Jesus is your Hope of love.
Acts 15:11
”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
Ephesians 1:7
”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
Ephesians 2:8
”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
you programmer now bro
You are a better instructor than my professor at school.
Sweeeeet. Thanks for watching Archer
@@BroCodez I've watched most of your Java videos I still have a few to go. The 4 hours of gui took me like 8 hours to get through but was very beneficial. Keep doing what your doing bro you have no idea how much you are helping some people achieve their goals.
Same here, this 4 minutes video is more useful than the 1 hr lecture and 3hr tutorial at school
Your videos are getting me through college better than my textbook! Thank you!
I have never coded in Java and I always wondered what this annotation does .. thanks for clarifying so concisely
Thank you so much for your incredible tutorials. You always manage to teach me more things in 10 minutes compared to my professor's 2 hour lectures.
Really great explaination, I get overriding a whole lot better now. Thank you.
thank you for watching Miss H!
@@BroCodez can you plzz tell me how to clear screen in java in intelijj
Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
Who is Jesus? Not who is He to you. Rather, who is He really?
Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
So turn from your sins and believe in the Jesus. Believe and hope that you can be forgiven for all your sins because of His death and resurrection. He took your place in Hell, so that if you submit to Him as your Lord and God, you can be forgiven and take His place in heaven- you will be made sinnless and perfect before the Holy Father. He'll also give you a new heart and mind that can love and obey Him.
Jesus lives so that you can have true life and freedom, and most importantly so that you can have an eternally peaceful relationship with God.
You are dead, and Jesus is your Hope of love.
Acts 15:11
”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
Ephesians 1:7
”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
Ephesians 2:8
”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."
@@carsanovadidrifto800 🍌🍌🍌
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
probably one of the most comprehensive java tutorials, without cutting corners :D
I love the videos man. They are straight to the point with no excess bs in-between 🧡
Thank you for making this concept easier and more understandable for me
Brooo you are goated at explaining JAVA . You make this simpler to understand
One of the best UA-cam Chanel
Explained Effortlessly
Thanks man, Java has been kickin gmy but for a while but your videos are a big help!
Thanks a lot ❤️, well Explained bro
10/10 video
Gotta love when the textbook takes 10x longer to say the same thing in a less intuitive way. Thx bro.
Thank you so much bro, I finally understood this topic now!
Awe Bro ! Your videos EZ for undestanding and fast !
super helpful
Wow! I failed a project last week and my teacher told me to re-do my project to pass it before going to the next module and I'm not gonna lie... I failed it hard at 30% and couldn't grasp anything about it. You made it so clear with this video that now my codes are all working like they should. Now, I should pass this project. I always come back to your videos because I just don't understand my teacher and you explain so well. Thank you!!!
niceeeee bro
Liked, subscribed and well..commented hehe
best video i've found on this topic!!
Good explanation... easy to understand
so good
You are awesome bro ❤️👍
thanks for watching Abhishek!
Great explanation and example
Thanks from Brazil!
hey bro, this is very clear, love your content! keep going!
sir
video on abstract class and interface
thanks
Great explanation Thank u
Very good video!Thank you!
Thanks 👍😊 bro you are a living legend
The best explanation for method overriding.
good bro
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
Thanks, Bro! ☕ You're awesome!
THANKS SO MUCH MAN!!
I've struggled with this annotation for a while, been getting wrong explanations of it. I had to comment Thank you.
Thank you!
Hi Bro Code, thank you very much for taking the time to provide useful information.
Thanks you a lot
Thank you so much for your effort bro
Love you bro
Best explanation I found on this topic!
Nice.
Great Explanation.
you r bessssttttt
Bro i love u, this was short and simple, u explained everything so well wow thank u so much
God Bless u finally i understood @override usage
sweet explanation!
Your tutorials are super helpful
holy crap, that was short and sweet.
nice dude, DONT STOP MAKING TUTORIALS
I was suffering for understanding this overriding, but with your help, it seems coming to the end.
wonderful explanation
bro speaks . you should listen
only if you want to lol
We love you Bro. 👍
clearly understood thanks
great video man
thanks man you're awesome
Brilliant, so clearly and well explained - Thank you :)
You explain so well. Thank you so much)
Thank you. Now i have a better understanding on this
Very helpful. Thanks!
great
Thanks, Bro!
Thanks man! very clear
yup helped me
Awsome
thanks bro
amazing bro!
Thank you so much sir.
Thanks bro
Thank you very much
comentario por que me lo pediste y me fue util el video (fui obligado)
Thank you bro
it really helped. thx bro!
that was cool
Thanks alot
Comment is yayayayaya. You are the best bro\
/*asdsad*/
you are great! thank you
It helped a lot, really lots T^T thank you..
thank you bro
Thank you🤗
wow so ez thx bro
Best Broooo
boom boom
gg lu bang, keren
learn a lot
❤
❤️❤️❤️❤️❤️
Thank you
thank you
How are you able to use dog and animal method/classes in main even though what you coded isn't in main?
thx bro
the broest
tnx😃