No video

8.4 Inheritance Example in Java Single Level

  Рет қаралды 119,616

Telusko

Telusko

Күн бұрын

Пікірлер: 30
@bekkamsravanthi6128
@bekkamsravanthi6128 7 жыл бұрын
Thank u so much for sharing your knowledge and also am feeling aesthetic in learning java
@shwethasingasani3866
@shwethasingasani3866 5 жыл бұрын
Very clear explanation. Thank you. Please do some Videos covering Computer Science Concepts for people who want to get into software but don't have a CS degree. Cheers!! :)
@limsoyoun
@limsoyoun 9 жыл бұрын
Thank you for the sharing your knowledge! Is there a puppy in your house? I heard the sound though! That's make me funny. Concept of Java became more easier and SIMPLE! because of your lecture.
@harrychecker5509
@harrychecker5509 9 жыл бұрын
Excellent video..
@ranjan25k
@ranjan25k 3 жыл бұрын
Could you confirm whether encapsulation and inheritance would work together for variables. As in encapsulation you would declare variables as private and add a setter and getter method. Whereas in inheritance only non-private variables are inherited into the child class. Let me know if there is a way out.
@MaiishaS
@MaiishaS 6 жыл бұрын
" we don't have no garbage value like in c programming " LOOOl java is king
@rajulama9732
@rajulama9732 9 жыл бұрын
you are superb........
@khushbumodh8655
@khushbumodh8655 8 жыл бұрын
sir i want to learn a java database connectivity with oracle create video plz
@aravindr2839
@aravindr2839 7 жыл бұрын
Did you get any video now about JDBC Ms.Khushbu Modh
@NiteshKumar-vk9td
@NiteshKumar-vk9td 7 жыл бұрын
which database are you use mysql or oracle
@sudhu7938
@sudhu7938 6 жыл бұрын
As u said.. If we cant use previous code how can we use the previous variables in the new class AddSub?
@pradeepgodavarthi8313
@pradeepgodavarthi8313 7 жыл бұрын
if method name in super class and derived class are same and they are in relationship, what happens if we call that same named method ....which method ll get called ?
@hadiabdulaziz7651
@hadiabdulaziz7651 6 жыл бұрын
Hy Sir !Navin Reddy please can you create javaFX playlist tutorials because i do really understand your lectures.Thanks!!
@meenakshilokhande1
@meenakshilokhande1 7 жыл бұрын
thank you so much sir....
@shuvshaw9594
@shuvshaw9594 4 жыл бұрын
very helpful
@AnilKumar-bx1nl
@AnilKumar-bx1nl 6 жыл бұрын
If possible could you please do video tutorials on Angular and Angular JS?
@nithyashreenaidu8357
@nithyashreenaidu8357 4 жыл бұрын
why didnt you initialise result =0 addsub
@AviatorBro
@AviatorBro 6 жыл бұрын
does derived class has access to private variables from base class? if not then how can we do so?
@daminiyeole104
@daminiyeole104 6 жыл бұрын
Why hasnt he used concept of encapsulation here¿ for n1 and n2 Previously he had said we need to use getter setter to set values
@mohammedviso2269
@mohammedviso2269 7 жыл бұрын
Thanks
@dipakpatilkhede6817
@dipakpatilkhede6817 8 жыл бұрын
it is possible in java inheritance classA { } class B{} class C exteds A,B{}
@evolocity5
@evolocity5 7 жыл бұрын
no. multiple level is not possible
@binarytemple
@binarytemple 6 жыл бұрын
As far as I know not, because Java doesnt support multiple inheritance
@daakshayaniallu2277
@daakshayaniallu2277 8 жыл бұрын
can we initialise values num1&num2 in add class
@daminiyeole104
@daminiyeole104 6 жыл бұрын
Daakshayani Allu Why hasnt he used concept of encapsulation here¿ for n1 and n2 Previously he had said we need to use getter setter to set values
@syedshanawaz9149
@syedshanawaz9149 9 жыл бұрын
THANKS A LOTTTTTT
@shuvshaw9594
@shuvshaw9594 4 жыл бұрын
package javaapplication132; /* SINGLE LEVEL INHERITANCE ILLUSTRATION */ public class JavaApplication132 { public static void main(String[] args) { difference obj = new difference(); // creating object of class addition obj.x=10; // assigning value of the integer obj.y=5; // assigning value of the integer obj.add(); // for addition obj.diff(); // for differnce } } class addition { int x,y, res; // declairing required variables public void add() // creating method add for the operation of addition { res= x+y; //addition operation System.out.println(res); //showing output } } class difference extends addition // now class difference is child class of additon class { public void diff() // creating method diff for the operation of difference { res=x-y; // difference operation System.out.println(res); // showing output } }
@sanisan5787
@sanisan5787 4 жыл бұрын
I didn't understand anything
@bossysmaxx3327
@bossysmaxx3327 5 жыл бұрын
num one and num thoo he's my ni**a
8.5 Inheritance Example in Java Multi Level
3:38
Telusko
Рет қаралды 97 М.
8.18 Abstract Class in Java Example
15:27
Telusko
Рет қаралды 382 М.
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 59 МЛН
8.12 What is Super Keyword in Java Part 2
4:36
Telusko
Рет қаралды 93 М.
Java's Creators Rejected Multiple Inheritance - Here's Why
13:14
Coding with John
Рет қаралды 68 М.
#51 This and Super Method in Java
12:11
Telusko
Рет қаралды 103 М.
This Keyword in Java Full Tutorial - How to Use "this"
7:39
Coding with John
Рет қаралды 144 М.
Inheritance in JavaScript - Prototypal Inheritance tutorial
20:06
What is JSON ?
11:56
Telusko
Рет қаралды 1,1 МЛН
OOP 5 | Abstract Classes, Interfaces, Annotations
1:10:42
Kunal Kushwaha
Рет қаралды 226 М.
#52 Method Overriding in Java
7:57
Telusko
Рет қаралды 132 М.
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН