Core Java With OCJP/SCJP: Declarations and Access Modifiers Part-7|| MemberLevel Modifiers

  Рет қаралды 162,578

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер: 102
@AJAYVISHWAKARMA-yj1gu
@AJAYVISHWAKARMA-yj1gu Жыл бұрын
Note : from java 17version onwards strictfp modifier is not required all floating point expressions are evaluated strictly
@SmartProgramming
@SmartProgramming 6 жыл бұрын
appreciable, you are the best trainer for java i have every seen who explains so deeply, thanks a lot sir 👍👍
@rakibulislam2452
@rakibulislam2452 4 жыл бұрын
no tutorial will come for java in youtube like Durga sir forever unique and best.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Rakibul. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@pradeepkumar-lb1ym
@pradeepkumar-lb1ym 4 жыл бұрын
I thank whole heartedly to durga sir for giving such a good clarity on acess and non access modifiers
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Pradeep. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@nan4546
@nan4546 Жыл бұрын
Durga sir videos give left and right to the people who think java is difficult
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@QaAutomationAlchemist
@QaAutomationAlchemist 7 жыл бұрын
Durga sir, hats off to you! It is great help for me to learn along with daily work.. Gives concrete ideas and focused examples. Really , Great job!
@LakhanWayal
@LakhanWayal 3 жыл бұрын
Outstanding teaching i access your java tutorials.... Each and every concept are you explain very clearly...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Lakhan. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@LakhanWayal
@LakhanWayal 3 жыл бұрын
I don't get Tutorials anywhere like you.... You make it beautiful.... 🤘🤘✌️
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Lakhan. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@LakhanWayal
@LakhanWayal 3 жыл бұрын
@@DurgaSoftwareSolutions 🤗🤗
@UnitedTekSolutions
@UnitedTekSolutions 6 жыл бұрын
Excellent teaching skills ..easy accessible classes from everywhere
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Kiran. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@sarbeshkumarsingh1328
@sarbeshkumarsingh1328 7 жыл бұрын
Best teaching style........... thanks alote ..............
@DeepakKumar-dw1re
@DeepakKumar-dw1re 2 жыл бұрын
Adorble....fabulous 🙏🏼🙏🏼👏👏👏
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Deepak. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@mahimaprajapat5017
@mahimaprajapat5017 3 жыл бұрын
Best teacher for java🙂
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Mahima. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@SACHINCHAUHAN-pu2og
@SACHINCHAUHAN-pu2og 3 жыл бұрын
hey can you help me from where you are practicing the programs after watching durga sir theory lecture ! please reply coz all comments seems very old !
@AYDixit
@AYDixit 2 жыл бұрын
Thank you very very much Durga sir!
@DimitriosTosidis
@DimitriosTosidis 6 жыл бұрын
nice example of protected access modifier by using polymorphism
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Dimitrios. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@News_Hub_1234
@News_Hub_1234 7 ай бұрын
I am enjoying java with your way of teaching otherwise it seems like a boredoom
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@gauravsrivastava17
@gauravsrivastava17 4 жыл бұрын
Acess Modifiers(default public private protected ) 🤩🤩🤩🤩
@aamirahangar7928
@aamirahangar7928 5 жыл бұрын
Best and deep explination
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Aamir. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@saddamahmad2310
@saddamahmad2310 5 жыл бұрын
thank you very much sir for this video
@pratikmahajan1244
@pratikmahajan1244 8 жыл бұрын
Sir this is very helpful ......thank YOu
@pramodkhade2554
@pramodkhade2554 3 жыл бұрын
Outstanding explaination sirji🙏
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Pramod. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@RAVINDRAKUMAR-gj2nx
@RAVINDRAKUMAR-gj2nx Жыл бұрын
thanks sir for this wonderful tutorial
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Ravindra. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@sumitbadugu417
@sumitbadugu417 2 ай бұрын
please make video on advance java
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 ай бұрын
Hello Sumit. Plz contact our Offline team durgasoftoffline@gmail.com or call us on this number +91 - 8852885296/97/63/64
@nishantlaxkar7451
@nishantlaxkar7451 3 жыл бұрын
Thankyou sir for this great explanation.♥️
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Nishant. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@rahulranjan5067
@rahulranjan5067 4 жыл бұрын
Sir, you are the best
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Rahul. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@SushmaswarajMarri
@SushmaswarajMarri 2 ай бұрын
Day 17 (12/9/24) session 36✅ Thank you sirr😊
@kushpareek3640
@kushpareek3640 5 жыл бұрын
watch with 2x speed.
@srikanthkamlikar3201
@srikanthkamlikar3201 7 жыл бұрын
Awesome teaching
@shubhchourasia1803
@shubhchourasia1803 Жыл бұрын
jab tak suraj chaand rahega Durga sir ka naam rahega
@subhakar9015
@subhakar9015 3 жыл бұрын
Tq 🙏 sir task completed
@RAVISHANKAR-qo3ks
@RAVISHANKAR-qo3ks Жыл бұрын
Hello sir, I have read your lecture of var-arg . static void shoe(string... arg) { for(int I=o;i
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Ravi. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@akilag
@akilag Жыл бұрын
String... args is just a declaration. it's not initialized without the values. so it's not printing anything.
@राजनगोंगल
@राजनगोंगल Жыл бұрын
👍👍👍👍👍👍
@ashikarman3695
@ashikarman3695 6 жыл бұрын
It is great help
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Ashik. Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@YASHkumar-qb3gm
@YASHkumar-qb3gm 2 ай бұрын
👍
@RamaKrishna-en4nm
@RamaKrishna-en4nm 4 жыл бұрын
super sir super
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Krishna. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@shortsmotivation99921
@shortsmotivation99921 Жыл бұрын
Strictfp:     strictfp is the modifier applicable for methods and classes but not for variables. Strictfp modifier introduced in 1.2 versions. Usually the result of floating point of arithmetic is varing from platform to platform , to overcome this problem we should use strictfp modifier. If a method declare as the Strictfp then all the floating point calculations in that method has to follow IEEE754 standard, So that we will get platform independent results
@nagarjuna0908
@nagarjuna0908 Жыл бұрын
what is non-child class means sir?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Arjun. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@nagarjuna0908
@nagarjuna0908 Жыл бұрын
@@DurgaSoftwareSolutions Thank you very much Durgasoft 😊
@ranveervaghela7030
@ranveervaghela7030 7 ай бұрын
Watched 09-04-2024
@amritagoyal7748
@amritagoyal7748 5 жыл бұрын
sir why parent reference is not allowed to access protected method outside the package. What is the sense behind using only child reference and not parent
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Amrita. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@jvsnyc
@jvsnyc 4 жыл бұрын
Even tho you have the same parent as your brothers and sisters, you don't have the right to touch their private or protected parts. That might help you remember it, but the reason is, that if you have a reference to your own type, you know what is going on with that class, full understanding. If you are a Duck, you understand how Ducks work and behave. A Turkey is also a Bird, this is true, but you despite being a Bird as well may not fully understand how a Turkey really works, so messing with the protected parts of a Bird that is a Turkey could easily cause some very bad misbehavior of the Turkey which they would be blamed for, but it came about because you are a Duck and did some things that seemed good to you as a Duck but were very harmful to a Turkey. So if it walks like a Duck, quacks like a Duck and swims like a Duck it can't pretend to know exactly how to be anything but a Duck -- if you can mess with protected members inherited from Bird than you can be breaking things for poor Turkeys without realizing it or intending to. The rule is there to keep your classes safe from my incorrect ideas, and mine from yours despite us having the same Parent class.
@psychogaming1425
@psychogaming1425 5 ай бұрын
sir i am unable afford high paying fee for coaching your playlist helped me alot sir thank you very much but sir i also want to learn advance java from you can you suggest how can i ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@nuthan315
@nuthan315 5 ай бұрын
If we declare the protected member as static in the parent class of pack1 then its allowing access outside the package with all the 3 types of references A a = new A() B b = new B() A a = new B() Can someone please help to understand this If we declare as non static then it's working as described by Durga sir .
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 ай бұрын
Hello Nuthan. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@anilkumarnagamani1739
@anilkumarnagamani1739 7 жыл бұрын
Dear Durga Sir, your teaching is so good and very easy to understand. Could you please tell me what exactly the need of using protected modifier. If we create a object using child class by default we are getting the parent class features. So I am not seeing any restriction here. If you don't mind please explain what is the real use case we would need this protected modifier. Thanks in advance.
@sandeepe5989
@sandeepe5989 6 жыл бұрын
Guys, rather than using some unknown 'fancy' words like other faculty , it's better to use known stuff.
@GalaxyStriker619
@GalaxyStriker619 4 жыл бұрын
You are correct but it is helpful or can be used if you want to restrict the access for non child classes outside of package. From outside package, if class is not child class then we you can create an object but can't access its protected members.
@HannaHanna-fq8te
@HannaHanna-fq8te 6 жыл бұрын
java king
@abhijeetraj7952
@abhijeetraj7952 6 жыл бұрын
Thank You Sir :)))
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Raj. Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@varundutta2381
@varundutta2381 3 жыл бұрын
I am getting error on compiling pack2.. C.java:11: error: non-static method m1() cannot be referenced from a static context C.m1();
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Varun. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@sai7557
@sai7557 7 жыл бұрын
from inside package?
@sanketvaviya9304
@sanketvaviya9304 5 жыл бұрын
Sir Inner class modifiers???
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Sanket. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@KRISH-wc4uy
@KRISH-wc4uy 4 жыл бұрын
Can we declare strictfp abstract
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Kishor Kumar. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@vedantsingh7011
@vedantsingh7011 4 жыл бұрын
strictfp abstract is invalid combination at method level but valid at class level.
@-AjayChauhan
@-AjayChauhan 8 ай бұрын
Day 16 of #75daysofcode completed this one 6 March,2024
@sai7557
@sai7557 7 жыл бұрын
class A{ protected void T(){}; } public class SomeF extends A{ A a = new A(); a.T(); } is this valid?
@rohiitkummar
@rohiitkummar 5 жыл бұрын
definitely valid!!! only if u call T() from some method!!!
@anooppandey8418
@anooppandey8418 2 жыл бұрын
Please explain... class Main{ public static void main(String args[]){ A ob = new B(); --> Also explain this part. System.out.println(ob.x); } } class A{ int x; public A(){ x = 10; } } class B extends A{ int x; public B(){ x = 20; } }
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Anoop. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@chetansharma3358
@chetansharma3358 2 жыл бұрын
Sir here first 'Upcasting' is happening in first line of main method When you are printing as ob.x then output will be 10 Here shadowing is used which is defining variable with same name is happening in both child and parent and resolution always done by compiler i.e. by reference type
@sai7557
@sai7557 7 жыл бұрын
Even we cannot access protected members from instance variable in child class class A{ protected void T(){}; } public class SomeF extends A{ A a = new A(); a.T(); } is this valid?
@jonassx100
@jonassx100 6 жыл бұрын
outside package !! yes
@siddharthnagar4422
@siddharthnagar4422 6 жыл бұрын
valid
@rohiitkummar
@rohiitkummar 5 жыл бұрын
please put the method call T() in some method of SomeF class bro!!!
@jvsnyc
@jvsnyc 4 жыл бұрын
You can access the data members (member variables) and member functions, but you need to have a reference to your OWN type to do so, not merely a reference to the base class. Some write it to say "you must participate in the implementation" -- this is what that means. If you are a duck, you can access protected bird members, using a duck reference. You cannot access protected bird members given merely a bird reference, even tho the object itself is in reality an instance of a duck. You also can't access protected bird members in chickens or turkeys. Most good presentations of object-orientation show this clearly, I have not watched Durga Sir's ones yet, but I bet he does too. I hope you learned this sometime between posting this and now.
@manishsakariya4595
@manishsakariya4595 7 жыл бұрын
How non child class of same package can access protected members?? I think there is some mistake at time 1:22:08 diagram
@jonassx100
@jonassx100 6 жыл бұрын
Within Current Paackage anywhere
@jvsnyc
@jvsnyc 4 жыл бұрын
because in Java, protected is on top of default / package. If you said nothing, it would be accessible by all classes in same package, if you say "protected" that adds "also by any subclass, whether or not they are in this package". C# lets you be more specific, you can have protected meaning sub class only, or everything internal (like package) PLUS sub classes, or even ONLY IF BOTH SUBCLASS AND INTERNAL -- Java is simpler, protected just means everyone in your class PLUS every subclass.
@HarshaVardhan-kt5uu
@HarshaVardhan-kt5uu 3 жыл бұрын
No ,it's right
@muralicreations9901
@muralicreations9901 6 жыл бұрын
Sir can you please define the meaning of this A a=new B(); A a= new C();
@prateeksingh742
@prateeksingh742 6 жыл бұрын
Okkay consider A parent class and B child class now new B() means you are creating object of child class and a is reference which is in parent class which is pointing towards child class object.Hope you got you
@sai7557
@sai7557 7 жыл бұрын
at 47 minute
@SamrathNagar
@SamrathNagar 7 жыл бұрын
sir you are repeating words so many times,its making lecture boring... please avoid this
@sai7557
@sai7557 7 жыл бұрын
sir this is absolutely wrong I dont know why u dont update this concept
Core Java With OCJP/SCJP: Declarations and Access Modifiers Part-8||  final variables
1:28:32
Core Java with OCJP/SCJP: Flow-Control Part-4  || Iterative Statements: while,do-while
1:12:39
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 44 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН
Core Java With OCJP/SCJP: Declarations and Access Modifiers Part-9||  static modifier
1:18:34
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 909 М.
Core Java With OCJP/SCJP: Declarations and Access Modifiers Part-11|| interfaces-1
1:11:33
Object Oriented Programming - The Four Pillars of OOP
11:23
Keep On Coding
Рет қаралды 347 М.
Checked vs. Unchecked Exceptions in Java Tutorial - What's The Difference?
10:14
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 44 МЛН