Core Java With OCJP/SCJP: Innerclass Part- 1||Introduction

  Рет қаралды 187,493

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер: 157
@saurabhpal8048
@saurabhpal8048 6 жыл бұрын
Nowerdays teaching has become a very big business but a very few like Durga Sir can be said to be following a noble profession and yes many will say he earns a lot from these videos and he has cut many videos but just think has anyone else provided you this much for free? And if he had to earn he could have earned a lot more by providing only one or two topics as demo here and providing rest in Udemy or live class here he might be getting may be lacks but just imagine if he charged 7k for core java from each student lile in Bangalore he could have earned a lot more than what he earns from KZbin.
@anand_kanekal
@anand_kanekal 6 жыл бұрын
Hello sir! Your repetitive teaching style is very effective according to me. One can never ever forget your teachings. Thanks and God bless!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Anand. 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
@sunilbiswal8677
@sunilbiswal8677 7 жыл бұрын
durga sir is the king king in java
@gudichamu3911
@gudichamu3911 8 жыл бұрын
Durga sir...... Ur teaching is very nice and very helpful to me!!!! Thanku so much sir......
@ashishgautami1160
@ashishgautami1160 3 жыл бұрын
Hello Durga Sir, I am a Java professional, still, when I feel get stuck anywhere when I feel I need to understand that thing as much as deep Durga sir is taking class, I am always following your tutorial. I am so much learning from Durga sir and sometimes I feel like I am EKLVYA OF Durga sir which only need seen face to face but always GURU will be there to help there STUDENT On Virtually (KZbin). Great Work by Durga sir and His team. Proudly say you will make a change in the STUDY OF INDIAN STUDENT AND TEACHER LIFE. HATS OF YOU SIR AND YOUR TEAM for all.😇
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Ashish. 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
@Ali42480
@Ali42480 2 ай бұрын
ashish bro can you please let me know what should i do after completion of this durga sir's complete core java course,what should i do next ??
@wafaamustafa4394
@wafaamustafa4394 8 жыл бұрын
you are a grate teacher Mr. Durga , you make me love java language and understand the concepts of java very well .. thanks ..tanks
@anulearntech
@anulearntech 6 жыл бұрын
he is a teacher, not a cheese cube you can grate. :-)
@sardarzain1066
@sardarzain1066 11 ай бұрын
Yar ya bnda phenomenal bnda Hy thanks from Pakistan ❤❤❤❤
@SanjayKumar-by6oc
@SanjayKumar-by6oc 6 жыл бұрын
JAVA made easy :)....Watched most of your videos Sir.... I follow your videos so much...that the names- Durga, Shiva, Ravi, Pawan...I hear them in my dreams:)))
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Sanjay. 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
@sashko59
@sashko59 3 жыл бұрын
You are the best teacher i have ever seen in my life.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Sashko. 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
@jayantagarwal6339
@jayantagarwal6339 3 жыл бұрын
Thank you Sir, again came here after 3 years - just to clarify on this topic, thanks again!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Jayant. 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
@parveensharma2270
@parveensharma2270 3 жыл бұрын
Every time I change my job I refer your tutorials for preparation....nice tutorials...thanks🙂
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Parveen. 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
@reshihashim4094
@reshihashim4094 3 жыл бұрын
Durga sir thank.u... actually i cannot thank u enough, u r the only one who makes complicated topics as cake walk for students to understand... the way u teach is jus amazing... u leave no stone unturned to make a student. Thank u for ur effort and ur free videos... i think nobody is there who share such complicated and important topics for free on internet...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Reshi Hashim. 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
@reshihashim4094
@reshihashim4094 3 жыл бұрын
for sure ❤️
@utkarshsrivastava1079
@utkarshsrivastava1079 7 жыл бұрын
Hello Durga Sir, Im watching your videos from Allahabad, Uttar Pradesh and you're famous here. Thank you for your direction and training that we're so so learned in Java.
@manwithaction12
@manwithaction12 7 жыл бұрын
Amazing Sir... you are best. This video on inner class concept has cleared my fundamental.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Mohit. Thank you very much for your feedback
@amriteshsingh4309
@amriteshsingh4309 8 жыл бұрын
Thanks sir , for making wonderful videos on java.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
Hi Amritesh. Thank you very much for your feedback
@lavishkanugo
@lavishkanugo 8 жыл бұрын
durga sir your way of teaching is really great. I like to learn from you. Thank you sir.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
thank you lavish
@tharunkumar8430
@tharunkumar8430 9 ай бұрын
Note: Before Java 16, you couldn’t have static methods in non-static inner classes. From Java 16 onwards, static methods are allowed in inner classes, provided they don’t interact with instance variables of the outer class.
@pratikmahajan1244
@pratikmahajan1244 8 жыл бұрын
very helpful concepts by Durga Sir.......Really Thank you Sir...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
Tq.. Pratik
@anshikashrivastava5986
@anshikashrivastava5986 5 жыл бұрын
Thanks u Durga sir ...for making java easy to learn
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Anshika. 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
@_devParty
@_devParty 7 жыл бұрын
His tutorial is better than any OCJP text book that I have ever read
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Kabir. Thank you very much for your feedback
@jvsnyc
@jvsnyc 4 жыл бұрын
Even this playlist, supplemented with the appropriate and necessary updates.
@ranveervaghela7030
@ranveervaghela7030 4 ай бұрын
Watched again and completed watching on 28-08-2024 at 11.40 PM :)
@imtiavati19
@imtiavati19 8 жыл бұрын
Thank you Durga Sir :)
@arbindshrestha3762
@arbindshrestha3762 8 жыл бұрын
Nice tutorial. Thank you Durga!!
@utsavmodh9698
@utsavmodh9698 9 ай бұрын
lots of respect to durga 🎉
@rizwanshahid1447
@rizwanshahid1447 7 жыл бұрын
Durga Sir. Thank you so much. Bigger words are so small for your help.
@shalendrakumar-xv5pp
@shalendrakumar-xv5pp Жыл бұрын
Superb sir deep learning
@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
@sekhark355
@sekhark355 8 жыл бұрын
thank you sir.... really i felt very happy with this tutorials
@raj_4372
@raj_4372 2 жыл бұрын
Durga Sir, God Must consult you 🐅👏
@sopanborale592
@sopanborale592 5 жыл бұрын
thank you sir for making our life easy , for mine your like god
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Sopan Borale. 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
@krishnaadhikari7209
@krishnaadhikari7209 7 жыл бұрын
sir when should we use inner class and when should we use Composition(Has-a relationship)
@harisankarl6292
@harisankarl6292 7 жыл бұрын
Sir,Excellent
@sandhya6356
@sandhya6356 4 жыл бұрын
After watching this video, I am feeling that I will definitely get job. Thank you for video.😊😊
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
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
@sonalgupta791
@sonalgupta791 3 жыл бұрын
God Bless yoy Sir jii❤
@basavarajpattanashetti6577
@basavarajpattanashetti6577 8 жыл бұрын
You are awesome Sir..
@hellothere5551
@hellothere5551 5 жыл бұрын
Java means Durgasoft and Durgasoft means Java..
@vikasgupta7182
@vikasgupta7182 7 жыл бұрын
Seriously the way of teaching and explanation are too good. My most of the concept has been cleared thank you so much. Could you please share the link of SCANNER topic video ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Vikas. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627
@hanannabi9528
@hanannabi9528 7 жыл бұрын
you are awesom sir ...
@EngineerVaibhav
@EngineerVaibhav Жыл бұрын
100th video completed❤🎉
@ranveervaghela7030
@ranveervaghela7030 7 ай бұрын
Completed watching on 28-05-2024 at 3.50 PM
@pritibobade8293
@pritibobade8293 4 жыл бұрын
Thanks Sir...
@jinyangli4116
@jinyangli4116 2 жыл бұрын
tsank you serrr
@nolanwen3622
@nolanwen3622 2 жыл бұрын
Yes i agree with my Indian bruda
@parthkumarvalangar1695
@parthkumarvalangar1695 8 жыл бұрын
thumbs up for durga. 5*/5*
@ajaygosavi2487
@ajaygosavi2487 2 жыл бұрын
king of java
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Ajay. 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
@willingtushar
@willingtushar 7 жыл бұрын
innnner classes
@ahmidahmid9303
@ahmidahmid9303 6 жыл бұрын
very clear
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Ahmid Libya. 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
@navdeepdhama403
@navdeepdhama403 3 жыл бұрын
We can not declare static methods inside inner class because it is instance of outer class and until outer class object creation we can't create inner object right but static declaration inside inner class doesn't talk about object creation then why we can't declare static inside inner
@zune9856
@zune9856 4 ай бұрын
Lots of respect for durga sir🙏🙏 Is durga sir teaches advance java ,hibernate , spring and spring boot in his paid courses??
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 ай бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@sanketatmaram
@sanketatmaram 4 жыл бұрын
Thanks Sir
@Lakshmankablog
@Lakshmankablog 2 жыл бұрын
👏👌
@sruthimuraharirao7240
@sruthimuraharirao7240 5 жыл бұрын
While listening for the first time , his class was like boring, why he is repeatedly asking and telling the things like that. But after listening the statement explanation with his examples and information we will get y dhurga is java and java is dhurga
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Sruthi. 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
@prasadmahakal2361
@prasadmahakal2361 2 жыл бұрын
Thanks A Lot Sirji @durgasir
@nishanthmurugan5502
@nishanthmurugan5502 5 жыл бұрын
Awesome class sir,I want your core Java full classes sir pls send the link sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Harsha. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. For Core Java all videos, Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@mohamedkanu66
@mohamedkanu66 3 жыл бұрын
I can't think of a better lecturer to simplify concepts like this. Sir can you have multiple inner classes in a class or multiple inner interfaces in an interface? Also can you have both inner classes and interfaces in a class?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Kanu. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@MamthaDatta
@MamthaDatta 8 жыл бұрын
Thank you sir.
@shashankkumar1201
@shashankkumar1201 7 жыл бұрын
Sir, u told that Inner class and outer class share HAS-A relationship. But according to HAS-A relationship, if container class' object is created then inside the Container object the content object will also be created. But in case of inner classes it is not mandatory that inner class object is created by creating outer class(static inner class) only. Inner class can have separate independent existence and after destroying outer class object the inner class object will not be destroyed(static inner class). So my question is not all types of inner and outer classes share HAS-A relationship.
@pratikbhardwaj3804
@pratikbhardwaj3804 6 жыл бұрын
HAS- A relation is AGGREGATION where inside object is not dependent to parent object existence i.e. class Bank has an class Employee, if Bank is destructed then employee still exist and you are taliking about COMPOSITION where parent -child are strongly dependent to each other
@jvsnyc
@jvsnyc 4 жыл бұрын
Someone made a good point but still kind of missed the heart of your confusion. Still watching the video, but most people are going to use the terms "static NESTED class" and "member INNER class" only, especially in modern times. That is, we don't speak of "static INNER class" but use the adjective NESTED if the relationship is static. So INNER class unless we say LOCAL or ANONYMOUS generally means instance member.
@utsavparashar5104
@utsavparashar5104 8 жыл бұрын
Please update videos as per java 1.7 or 1.8 because there are few changes in the concepts which you are teaching in this video.
@kumarsumit8685
@kumarsumit8685 6 жыл бұрын
java legend
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Sumit. 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
@groku0112
@groku0112 5 жыл бұрын
When i use jdk8u231 for the below code, am not getting error/exception for java Outer$Inner., Please explain. class Outer { public Outer(){ System.out.println("Outer"); } class Inner{ public Inner(){ System.out.println("Inner class"); } } public static void main(String[] args) { System.out.println("Outer class main method"); } } Output java Outer -> Outer class main method java Outer$Inner -> Outer class main method
@ritikakirtani1574
@ritikakirtani1574 4 жыл бұрын
inner classes are an implementation of composition? In both the concept, there is no chance of existing other objects if the parent object doesn't exist. So are these concept same if yes then we can achieve the same using override concept as well, can you please explain more ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Ritika. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@ashishrawal1499
@ashishrawal1499 6 жыл бұрын
god of java.........
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Ahish. 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
@AshishJagadale
@AshishJagadale 5 жыл бұрын
As static related declarations are not allowed in Inner class then why it is giving error as NoSuchMethodError:main when we run Inner class without declaring p s v main(String[] args) in it?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Ashish. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@upendrasingh121
@upendrasingh121 8 жыл бұрын
thank you sir
@kallurusubhashini6570
@kallurusubhashini6570 6 жыл бұрын
Any one can clarify a doubt this much depth of learning java is requried for Advanced automation people
@abhishekpathak8562
@abhishekpathak8562 7 жыл бұрын
sir, we can access inner class members from static method of outer class by creating instance of outer class firstly, then we create instance of inner class by this way (OuterClass.InnerClass i = o.new Inner();).... now here my ques is that why can't we created object after creating object of outer class by this way in static method of outer class - InnerClass i = new InnerClass();....?????
@abhishekpathak8562
@abhishekpathak8562 7 жыл бұрын
instead of (OuterClass.InnerClass i = o.new Inner();).
@raj_4372
@raj_4372 2 жыл бұрын
Java means durga sir only..
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
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
@codedigestwithmrwallet4768
@codedigestwithmrwallet4768 7 жыл бұрын
Great Teacher but If you cant repeat one line atleast 7-10 times consecutively that would be great.This video can easily be just 1 hour long. Rest great analogies good teaching.
@papipdp123
@papipdp123 7 жыл бұрын
This is the class of at least 1000 members, and all are mostly college passout. So to make them understand and make them memorise most of the concepts, he does that. I hope you understand. That is the way of teaching to make the newer people understand in a better way. And he is doing his job in a better way and another reason is students are making notes
@sameerpatel3476
@sameerpatel3476 7 жыл бұрын
Fir kahoge ki likhataa nhi hai :D
@muvvaanudeepreddy1562
@muvvaanudeepreddy1562 3 жыл бұрын
sir but when one object contains other object ,and the contained object doesnt exist with other object is called composition na,where child class doent exist if there is no parent class.but u ar esaying it as inner class.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Anudeep. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@MarimuthuP
@MarimuthuP 8 жыл бұрын
Innerclasses can have static final constants.
@_devParty
@_devParty 7 жыл бұрын
That is not correct. You can't have a static declaration in an inner class. You'll end up with a compiler error : "Inner class cannot have static declaration"
@amansingh17935
@amansingh17935 6 жыл бұрын
Marimuthu is right
@sopanborale592
@sopanborale592 5 жыл бұрын
sir can we access private method inside a normal method?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Sopan Borale. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@vivekvikram4866
@vivekvikram4866 4 жыл бұрын
Yes u can
@advancecodes4878
@advancecodes4878 7 жыл бұрын
Thank u sir,
@edhisangatulu
@edhisangatulu 4 жыл бұрын
Sir basic java programs upload chai sir please... We have a campus placements In December please upload sir..
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Raghunath. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@shaheenshaikh6701
@shaheenshaikh6701 6 жыл бұрын
sir can normal / regular inner class can also be called as non static inner class ?? plzzzz answer.
@_Samar-Coding9708
@_Samar-Coding9708 Жыл бұрын
Hello sir, if we are calling Inner class method ----> Outer.Inner i = new Outer().new Inner().m1(); then inside Inner class method return type will be change or not sir . but you didn't change and have not explained about this thing.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Pratap. Plz contact our Offline team durgasoftoffline@gmail.com or call us on this number +91 - 8852885296/97/63/64
@manjinder.rooprai
@manjinder.rooprai 8 жыл бұрын
please create some videos on functional programming in java 8
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
Hi, Manjinder ...ya we will do it in coming days. plz do follow us on KZbin
@shankardh
@shankardh 8 жыл бұрын
Sir, Please post some videos on Lambda expressions(java 8) Eagerly waiting for your videos! Thanks in advance.
@mohamednoor586
@mohamednoor586 4 ай бұрын
Is any course available for kotlin like this by durga sir?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 ай бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@abhishekkn01
@abhishekkn01 Жыл бұрын
Durga sir please teach Scala
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@ratnadeepdey4098
@ratnadeepdey4098 Жыл бұрын
Hello Sir, I was trying the inner class example by defining main method inside the inner class, however I did not get any compile time error and I was also able to execute the main method from the inner class itself. I am running this code using java 1.8, so has the way of compiling inner classes in java 8 changed? Thanks in advance.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Ratnadeep. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@IFGaurav
@IFGaurav Жыл бұрын
yes bro also I did not get any compile time error
@meghamaddili4881
@meghamaddili4881 Жыл бұрын
You will get error only if you don't declare main method in inner class . You have included main method so no error
@Dhiraj-nd9vy
@Dhiraj-nd9vy 7 ай бұрын
In older version it used to be so but after 16 we can have static methods inside inner class
@Lakshmankablog
@Lakshmankablog 2 жыл бұрын
Sir please reply my question ⁉️-->> why the name of file and class name should be same , what is the reason make a video else reply please 🙏
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Lakshman. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@y.prakashrao511
@y.prakashrao511 Жыл бұрын
there is no compile time error to me sir for static methods in inner class
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Prakash. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@Dhiraj-nd9vy
@Dhiraj-nd9vy Жыл бұрын
new version........
@rishithakur8521
@rishithakur8521 8 жыл бұрын
outer.inner i=o.new inner(); sir explain the above statement. Why do we use outer class reference variable to create inner class object..
@IgiveyouNONE
@IgiveyouNONE 8 жыл бұрын
public class A { class B { public void show() { System.out.println("Hi"); } } } class Test { public static void main(String[] args) { A a = new A(); A.B ab = a.new B(); ab.show(); } so outer.inner i = o.new inner() is on me A.B ab = a.newB(); When you want to create an object from an inner class you first need a reference from object from outer class!! Because Class A contains B so you can't(in my case) call the method straight from class A, cause my method it's in class B so i first need to make a object from Class A then make an object from class B and this is the line where i making this a.new B(); here i created the inner object. with the reference ab and i'm calling show after that. I hope you get it, bro.
@application-database9099
@application-database9099 8 жыл бұрын
BIG THANK YOU......Sir .@#@#@#@#@#@#@#@#@#@#@
@VoxNews02
@VoxNews02 2 жыл бұрын
Now without engine cars are available sir.. electric vehicles.
@Dhiraj-nd9vy
@Dhiraj-nd9vy 7 ай бұрын
It does have engine lectric engines
@prajwolgautam5405
@prajwolgautam5405 3 жыл бұрын
public class InnerClass { public static void main(String [] args) { while(true) { System.out.println("With out Existing outer class objects There is No chance of existing Inner Class Object"); } } }
@jonassx100
@jonassx100 7 жыл бұрын
keeps a budding or keeps a wording? ...O.o
@jvsnyc
@jvsnyc 4 жыл бұрын
Keep subheading....
@govindagrawal3037
@govindagrawal3037 8 жыл бұрын
pls provide short video ....pls
@राजनगोंगल
@राजनगोंगल Жыл бұрын
🙏🙏👏👏👍👍🙏🙏👏👏👍👍🙏🙏👏👏👍👍
@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
@SujeetKumarSinghlive
@SujeetKumarSinghlive 7 жыл бұрын
Too much advertisement !
@ShujaRafi
@ShujaRafi 8 жыл бұрын
R.I.P English
@pavanvhsn
@pavanvhsn 7 жыл бұрын
Why the hell on earth u observe his English? Just concentrate on his knowledge and the way he explains it to make us understand. Sick people
@MrSurya2010
@MrSurya2010 7 жыл бұрын
.this video is to learn Java Not English.
@_devParty
@_devParty 7 жыл бұрын
If you prefer everything English above your own culture, then you are mentally enslaved. Nobody but yourself can free you from this form of slavery as the chains are on your mind and not you hands and feet.
@surendramishra4813
@surendramishra4813 7 жыл бұрын
Why are you seeing videos if English is not good, A person who is giving his valuable knowledge free of cost but you type of people can not understand, Angrej sale, even you are ant in front of his knowledge..
@aleph.5811
@aleph.5811 6 жыл бұрын
what a moron lol
@kusumachallaa9876
@kusumachallaa9876 5 жыл бұрын
Thank You Sir.
Core Java With OCJP/SCJP: Innerclass  Part- 2||normal innerclass||regular innerclass
1:30:11
Core Java With OCJP/SCJP: Innerclass  Part- 3||anonymous inner class
1:31:18
Durga Software Solutions
Рет қаралды 111 М.
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Russia expelled from the military base / A stab in the back
12:49
Core Java With OCJP/SCJP: Generics Part-1 || Introduction
44:31
Durga Software Solutions
Рет қаралды 197 М.
Core Java with OCJP/SCJP: Multi Threading Part-10 || Inter Thread Communication Part-1
1:18:26
Inner Class Java Tutorial - Creating and Using Inner Classes
8:21
Coding with John
Рет қаралды 138 М.
Core Java With OCJP/SCJP: Serialization  Part- 3||Customized serialization - 1
1:24:57
Durga Software Solutions
Рет қаралды 72 М.
9. Java Memory Management and Garbage Collection in Depth
48:48
Concept && Coding - by Shrayansh
Рет қаралды 115 М.
Core Java With OCJP/SCJP: Collections Part-3 || collection & collections|| list & set
1:00:55
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 949 М.