Java for Complete Beginners (Video), Part 43: Inner (Nested) Classes
Java lets you declare classes almost anywhere, even inside other classes and methods. In this tutorial we’ll take a look at some of the possibilities and why you might want to make use of them. In particular, we’ll look at … Continue reading
Never miss new videos! Click here to subscribe to the free approximately weekly newsletter!
Java Programming Video Courses (and Perl!)
|
|
|
|
| Java for Complete Beginners | Mastering Java Swing | Learn Android Programming | Java Multithreading |
| completely free | 7 free videos | 6 free videos | completely free |
| 14 hours premium content | 14 hours premium content |
|
|
|
| Java Design Patterns and Architecture | Learn Perl by Doing It | Java Servlets and JSPs |
| completely free | 12 free videos | 7 free videos |
| 10 hours premium content |
| Follow @CaveOfProgram |
Welcome to my site! My name's John; I used to be a software developer and contractor, but these days as you can see, I'm into making videos. Back in 2011 I quit my job, moved to Budapest and started this site. Thanks to your great reviews and generosity, I'm now able to spend much more time sleeping and pursuing random ideas than I ever dreamed possible.
On this site you can find lots and lots of completely free programming articles and Java video tutorials, as well as some subscription-only courses (all of which have some free content that you can view just by clicking the icons at the top of the page and scrolling down a bit).
If you want to drop me a line, you can find me at john@caveofprogramming.com. I try to respond to all emails.
I'm adding new content to this site constantly, and I'm continually creating new courses and enlarging existing ones. So have a good look around, and come back soon.
Happy Coding!
- JohnMy Latest Projects
I'm currently putting together a site about physics and consciousness: www.QuantumLifetime.com. Over a period of many years, I've come to the conclusion that our minds take a far more active role in creating the "universe" than we usually care to imagine.
As you can see, a fledgling course on Java Design Patterns is available at the top of the page. There's also a new course on Perl, which I'm still adding to. I'm still considering creating a course on Java Spring, which I've had many requests for. There is the small problem that I need to learn it myself first.
Finally, if you're interested in learning Hungarian, which is said by some to be the world's fourth most difficult language, I'm creating a course on it together with a Hungarian friend of mine. The website is still under development and at the moment the course is free (but that will probably change). You can find it at www.learnhungarianfast.com.
I'll continue to add to the free Java for Complete Beginners course.Want a Course but Can't Afford to Pay?
If you want access to one of my paid courses but can't afford to pay, email me at john@caveofprogramming.com with a brief email explaining your situation, and I'll consider giving you free access. If you can afford to pay, please do pay -- because I'm not rich and I rely on income from my courses to pay my rent :)Join Us On Facebook
Cave of Programming is on Facebook! www.facebook.com/caveofprogrammingNeed some software writing? Help with coursework?
I'm not currently accepting new clients for my 1-to-1 lessons, but if you're looking for Java lessons by Skype, you might want to check out Prashant@TechEstate.
| Downloads | |
| The courses at the top of this page are hosted on Udemy.com, where you can view streaming videos and also find more details about them. Each course also has some free content that you can watch without subscribing. If you prefer, the following courses are also available to download directly: | |
| Mastering Java Swing | buy |
| Learn Servlets and JSPs | buy |
YouTube Java Video Tutorials
Basic Java Video Tutorials
Java Collections Framework Tutorials - Vital Skills For All Java Programmers
Java Design Patterns
Java Multithreading -- Unveil the Mystery!
Featured Posts
Basic Java Programming: Test Your Knowledge
Basic C++ Programming: Test Your Knowledge
Ten Tips to Make You a Better Programmer
Check out the Beginner's Guide to Java video series here
Categories
- AS3 (Flash)
- Assorted Stuff
- C#
- C++
- Developing Installers
- graphics
- Java
- Java Collections Framework
- Java Design Patterns and Architecture
- Java Tutorial
- Java Video Tutorials (Advanced)
- Java Video Tutorials (Beginners)
- Javascript
- Learn Perl By Doing It
- Mastering Java Swing, Complete Course
- MySQL
- Perl
- PHP
- Servlets and JSPs
- Tuition
Latest Posts
Java for Complete Beginners (Video), Part 43: Inner (Nested) Classes
DAO and Multiple Databases: Java Design Patterns and Architecture, Part 16
Quantifiers – Greedy and Non-Greedy: Learn Perl By Doing It, Part 9
Groups in Regular Expressions: Learn Perl By Doing It, Part 8
Wildcards in Regular Expressions: Learn Perl By Doing It, Part 7
Writing Files and Replacing Text: Learn Perl By Doing It, Part 6
DAO and Multiple Databases: Java Design Patterns and Architecture, Part 15
Getting Started With JUnit: Java Design Patterns and Architecture, Part 14
Java for Complete Beginners (Video), Part 42: Equals and Comparing Strings
Reading Files and Beginning Regular Expressions: Learn Perl By Doing It, Part 5
Arrays and Checking if Files Exist: Learn Perl By Doing It, Part 4
Downloading Text and Images: Learn Perl By Doing It, Part 3
Java for Complete Beginners (Video), Part 41: Writing Text Files
DAO Factories – A First Look: Java Design Patterns and Architecture, Part 13
DAO Classes: Java Design Patterns and Architecture, Part 12
Beans: Java Design Patterns and Architecture, Part 11
The Singleton Pattern: Java Design Patterns and Architecture, Part 10
An MVC Controversy: Java Design Patterns and Architecture, Part 9
Implementing the Observer Pattern: Java Design Patterns and Architecture, Part 8
The Observer Pattern – An Example: Java Design Patterns and Architecture, Part 7
Hi, John.
My name’s Ivan Tinajero, I’m from Mexico. Last week, I was looking for some Videotutorials about Java programming and, I found this excellent site. Your videos have helped me a lot. The videos are very useful, thank you for sharing your knowledge and experience.
Regards..
sir thanks for your such a great help ..:) sir keep posting the videos
This is great website, helping all of us.
It helps to explore the langauage.
Thanks for all the stuff.
I noticed you renewed your website. Looks orderly now. well done!!
Also, can you please add a video example for interface vs abstract class?? Many Thanks
Excellent tutorials.
this is an excellent site. Very very helpful.
Very informative and elaborated tutorials. Really liked it. . .
Almost after 10 years I have to work on JAVA . Your Collection tutorial were really helpful. I would certainly recommend your website to all.
Hi John,
I have gone through your collections tutorials and its really great experience while watching. Your skills of explaining are very good. I am working as java developer and started my blog. If have time, please visit and provide your valuable suggestions.
Thanks & Regards,
Raju Shikha
John this is a great collection of videos you got going. I am so happy to have found this website and it has helped me a lot to brush on the fundamentals of Java once again !! Keep the good work going !! Cheers
I think its good to say what is good if you see what is good and give good recommendation, infact ive watch a lots of Youtube, but i find yours lectures not only good but full details of each lecture and how somebody can pilot for the future, bcos of that i subscribed for 2 of your program but soon after i finish that i will take more..
I really appreciate your teaching strategy,Please keep it up
Hello John,
Your collection tutorial is awesome but few parts in it are blurred and hence causing issues while studying them.
That’s bad. I don’t know why; I recorded them all the same way. I wonder if YouTube shows you a lo-def version when your Internet connection gets slow. If you could give me an example of a bit that’s blurred, I’ll have a look and see if I can do anything.
I enlarged my web page to 200% then click o the sprocket at the bottom of the video frame and select the 720p HD to change the quality of the image.
Hey there , your videos had been a great help to me. i have some inquiry about Swing (GUI) Programming. I’ve emailed you about this. hope that you can help me out.
A million thanks to you
Hi,
Great work. You have put in an amazing amount of work on this. all your java lectures are very informative. What tool did you use for the screen recording?
Good luck.
Thanks Viraj. I use BB Flashback Express, which I can highly recommend. http://www.bbsoftware.co.uk/BBFlashBack_FreePlayer.aspx
Awesome tutorial. Very helpful. Thanks a lot.
Hi John,
Could you start a series on “Design Pattern”, i tried a them out but found very uninteresting in some articles. I am very confident you can make them very interesting, the way you teach.
Thanks in advance.
Thanks Avi! Yes, I absolutely intend to start making one in the next couple of weeks. Unless I change my mind, it’s going to be my next free course (while continuing to add to my Java for Complete Beginners and Android courses). I’ve been trying to decide what my next subscribers-only course will be too — think I will make a few videos of various subjects and see which ones people watch the most.
Great !!! I was looking your video about Callable/Future. It impressed me greatly. Very very helpful !!!
Congratulations for your excellent tutorials about java multithreading!
I am studying these videos now ay udemy.com
What a cool thing to do to deliver free classes . thanks
hi
any EJB tutorial?
No, I don’t know it. Plus I hear that a lot of people are migrating to Spring, so if I do make a tutorial on web frameworks, I’m afraid it’s probably going to be on Spring.
please post some videos on spring and hibernate… I want to have that knowledge
I will try to … I’m actually making a course on Spring, but I’m learning it as I go along and haven’t yet summoned the courage to release it …. If I start to feel like I’m making good progress with it, I’ll be sure to upload it. Hopefully soon, but I can’t promise.
Hello John.
I am a junior Java developer.
Thanks for your tutorials. “Design Pattern” is important thing.
I started learning the Spring Framework last year. It’s very powerful tech.
Hey John,
Design Patterns and Architecture, great going !!
Thanx
And yes, you are right, Spring framework is a important tool for developers now, it will be great if you are planning to take it up as your next teaching topic.
Ciao
Hello, you course about swing seens really great! Would be possible you add on it maybe one video about good GUI design practice? I mean some ideas about how do I decide the size and position of button, How to choose font face and size and etc…
Hi Felipe, thanks!! I would, but I’d be out of my depth with that … I always worked commercially with a design team, and when I write stuff at home I just do what looks good to me at the time. One good thing to do, if you’re intending most users to use Windows, is to follow what other Windows programs do — the ones that are approved by Microsoft. Take a look at how they organise dialogs, menus, etc. But of course that will annoy Mac or Linux users …
Thanks!
Thank you for making such great video tutorials available at no cost and low cost.
Great work and very much appreciated!
Best wishes,
Brian
thanks alot.
I have tried a number of different Java tutorials; however this is the best place to learn Java so far.
Well structured Java Programming for Beginner – Well done John!
Hi John,
Thanks for the tutorials! I relly liked it. I want to learn more on Java EE. What is that actually? Is it so much different with the SE one? Is it used a lot in companies? Will you make a tutorial on this Java EE? Sorry for the cascading questions. Thanks John!
I’ve never really understood what it is myself. Servlets and JSPs are considered part of EE, and this I have a course on. But there are other aspects to it as well that I haven’t a clue about. The EE edition is the same as the SE edition of Java, but with extra libraries, including the servlet support library and lots of other stuff.
heyy john ,thnx for free videos on youtube !!! they are awesume at the fullest!! god bless you man hope that you never stop in producing your videos.
Sir, these tutorials are superb. And, i really love and respect you for sharing this knowledge. Please write On DAO design pattern.God bless.
To Sir, with love…
hats off Sir,
Hello Sir,
A course on I/O in Java would be a great idea , just like Threading and Collections.
Many Thanks for the DAO tutorial. I love your explanation of the topic under discussion and i think it’s a very professional approach towards imparting technical knowledge.
hi john
superb………
Hi John purcell , can you email me sourcecod
for swing tutorials? udemy link isn’t working
Thanks
Hi John,
Your course on multithreading is brilliant. I have tried to read about multithreading several times but somehow never understood it completely until I came across your tutorial. I cannot find the source code for this tutorial on Udemy. Can you let me know from where I can get it?
Thanks! Look for the heading “Java Multithreading” on this page; click the articles under that and the source code is embedded in the page.
It’s a brilliantly created no nonsense site. Again awesome work.
Thank you posting a number of video courses for free, I’m buying your “Learn Android Programming”.
Thanks!
Your Java Framework related video tutorials are excellent. And you are doing good with the Design Patterns series as well. Why can’t you make a video on how to model user stories in agile process by taking a simple case study?
Thanks.
Thanks for DAO design pattern and factory pattern, often clubbed together and used in and as DAOFactories.
Many thanks for this wonderful tutorial. This tutorial has helped me to understand how to start programming in Java. I am now trying to learn android and am loving it. Cheers
Thanks John for the discount. I just took advantage of the discount and bought the course immediately. I am looking forward to learning android. Cheers
Part 41 video not playing. could you check.
Thanks for letting me know. Fixed now!
Do you have any plan for doing tutorial for web services?
No plans for the moment I’m afraid. I don’t know about web services.
Just wanted to say that I have gone through your mastering swing, and though I couldn’t keep up with you I found it to be very well done. I am retaking core java right now and have to use awt and swing. I am planning on going through your other lectures as the weeks progress, and maybe when I start making money join a members course. Thanks for all your time and effort!
Hello John, your way of teaching is very comprehensive.Its really very helpful. Actually I am looking for struts 1.x tutorial. Perhaps you didn’t provide it on your website. Could you please provide it.
Hi Ravi (is that your real name???), I haven’t got any Struts stuff at the moment. I’m thinking about making a Spring tutorial though, if that’s any use …
Hi John, Thanks for all your video tutorials, I think you are doing a brilliant job. Please keep it up.. Please can you make a video for Enumerations(enums) in java..I think its missing in the beginner course.. Thanks
i m from india.your online teaching very impressive
Hi John.. m 4m India.. ur vidoes r really good.. dey r really helping me learn java faster.. keep up the good work..
Hi John,
Your videos are totally awesome. I`ve been searching a good tutorial to learn Collections framework and ua videos helped me alot. I honestly think u can charge a minimal cost for these awesome java tutorial video. They r worth paying for. I have been to high cost education institutions who doesn explain concepts this easy and interesting way. Thanks a lot!!!
Hi John
I started learning java a few weeks ago, wouldn’t have got anywhere without your videos. Thank you. Would you ever consider game programming tutorials? There are no good videos for game programming in java on youtube that I have found. They could be very popular and get some new visitors to your site.
Maybe one day …. Game programming I find so hard, mainly because of the insatiable requirement for graphics that games have ….
I’m also very interested in making android apps. I have a few ideas I’m looking to build. My knowledge of computers is not great though. Do you have tutorials on adding ads to apps so I could make some money off my apps/games if I give them away for free? I feel this is the best way to earn money from apps.
Your way of disseminating information is very useful. Helped a lot. Would be nice if you can supplement design pattern courses with real scenarios and usage. Thanks..
Also a course on topics like Selenium would be great..
Hi John,
I’d like to buy your courses but don;t have a paypal account, how I can pay money to you?
And i I want to buy 3 courses at once could you please give some discount?
thanks a lot
for your work
Hi, PayPal is the only way I have of accepting money, I’m afraid. You can pay with a credit card via PayPal though — you don’t need to open an account. I’ll give you the third one half price if you like, for buying three.
Great courses, you explain the topics in a very understandable and approachable way! Gained a lot from them, thank you very much!
Much appreciated!
I would love to buy the paid courses, but cannot afford them at the moment…
The more I watch the tutorials, the more I appreciate the way John teaches and explains the tasks.
I highly recommend taking the courses!
Thank you John!
I just found your site as I decided to learn Java, and can’t thank you enough for this excellent content. I hope to send some money for premium when I get that far. If it counts, here’s a vote for games programming tutorials.
Hi John, I normally use asp.net to create web application until I got to college where I was made to learn Java. What is strange to me is the use of applets, servlet and JSP. It seems to me that they are all doing the same thing. I am just wondering if there are specific circumstances where each is best suited and I would appreciate if you can guide me in this aspect. Many thanks. Olu
Hey john, thanks for your time on Design Pattern teaching.
I would like to request a premium course on JavaEE
that is roughly JSF 2.x, CDI/EJB, JPA/hibernate, Web Services.
I am a web application developer and various third party api integration, freelancer and contractual developer,
work with different languages mainly Java(jsp, servlet), PHP, Python.
To be honest i have not bought any of your premium course yet, it is because i already know Jsp/Servlet well.
I am not using Swing on any projects yet, but i am thinking of and then i will try on android development i always fascinated but time constrained.
If i buy your Jsp and Servlet course, it will only for the JSTL part, i found it difficult, i was asked to build a shopping
cart application migration from php to jsp/jstl third party integration for better security, i could not do that and i lost
a client.
I ,ll definitely buy your courses (jsp/servet, swing, android), on the next round of your discount offer,
i am also not making good money for a quite a time now.
The reason being i am requesting for javaee course is that contractual employees are looking for javaee 6 (jsf/cdi/jpa) skill sets.
As per my understanding the newer version of javaee is much simpler than earlier version of j2ee, oracle team is working really hard to make it
much simpler, better and light weight. Earlier i have developed java web application using spring/struts/hibernate, it is a good combination
but spring is never been very easy although it is great. Javaee now offers equivalent feature with CDI, EJBs are just annotated pojo now and so is webservices.
Things are getting hybridized with some part of spring and some part of core javaee, newly realeased JSF flow is equvaivalent to spring web flow.
The point i am trying make is newer version of core javaee is getting momentum and there is a large demand already in the job market. I am not saying spring
is losing popularity, it is great and it is matured and has a large user community.
Most developers will find it easier to do it with javaee6 for every alternative to spring.
I tried to work with oracle javaee6 online tutorial, i found it very unorganized and poorly documented.
But courses you have done so far are much more difficult than newre javaee, espicially after doing JSP and Servlet course i.e. core part of javaee specification since earlier days, it is only how well put the pieces together.
There are lots people out there who are very good at themselves, but everybody is not a good teacher.
They will put their money on your teaching skill, the way you put it together and make learning interesting.
Of course i,ll be the first one to purchase. Hope you are listening.
Bye
Thanks sir for your generosity…You are just great.
Hey Thanks for the discount offer, i took advantage of it
, My paypal acc was idle for long. Java may not be the best language, there is always trade off, but it is here to stay for while, request you to channelize your energy on it. It will help lots of people.
Hey John,
I want to thank you for your great courses and the way you are presenting it. It is GREAT!!! I can’t express how thankful I am for this. You are the great teacher. I was looking for java course for long time and found that your teaching style is the best for me!
I am just a beginner in java, but your courses are really helping me. I have bought your “Servlets and JSPs” course and waiting for java spring course.
John keep going I am sure that you are helping a lot of people.
Thanks Darius!!
Hi John,
you have a very noble site. i’m sure it’s helping many beginners like me.
you mention in your tutorials that we can download code here but i can’t find link to do that.
Best Regards,
Ramesh
Hi Ramesh, look at the videos in the YouTube section (scroll down on the home page). Source code is embedded in the page.
Hi John,
I really appreciate you taking the time out to post your these tutorials. I’ve devoured your free tutorials and I’m ready to buy your Java Servlets and JSPs, just for the heck of it
Wanna support your effort too!
But mostly, I’ve learned here more than any other sources, i.e. books and other free online courses.
Keep up the good work and I hope you get to keep doing this because you’re really gifted in instructing and illustrating an easy flow of programming.
Thanks much again. And until next time, happy coding!
Thankyou!! These kinds of comments are my favourites!
Hi John,
My name is Cainton Milroy and I am from the South Pacific island country of Vanuatu (south west of Australia).
I am currently studying a Bachelor of IT in Christchurch Polytech, New Zealand.
Thanks for your site, its very informative and contributes to the programming ecosystem on the web.
Cheers,
Cainton Milroy
Hi John,
I can’t seem to contact directly from Udemy when I’m posting questions. Somebody else reponds to them without any answers.
Anyway, how can I download the source code from there? It seems that I can only download the video but I can’t find the source codes, specifically for Lecture 35 of servlets and JSPs.
Thanks much.