{"id":88,"date":"2018-04-13T01:06:00","date_gmt":"2018-04-13T01:06:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2018\/04\/13\/15-easy-free-java-tutorials-with-step-by-step-examples-and-quiz\/"},"modified":"2020-08-22T20:58:40","modified_gmt":"2020-08-22T18:58:40","slug":"15-easy-free-java-tutorials-with-step-by-step-examples-and-quiz","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/15-easy-free-java-tutorials-with-step-by-step-examples-and-quiz\/","title":{"rendered":"15 Easy Free Java Tutorials With Step by Step Examples and Quiz"},"content":{"rendered":"<p>If you want to learn Java as a beginner to a Java Programming expert, this is the right place. The clue to success is: try it yourself!<\/p>\n<p>So make sure you run the sample programs and also do the quiz in each of the sections.<\/p>\n<p>Remember that if you have any challenge whatsoever, just let me know in the comment box below or on the left. I would get to you asap.<\/p>\n<p><a href=\"https:\/\/www.kindsonthegenius.com\/java\" target=\"_blank\" rel=\"noopener\">Go to Tutorial Page<\/a><\/p>\n<h4><strong>1. Java Programming Tutorials for Beginners: Introduction to Java and Installation of NetBeans<\/strong><\/h4>\n<ul>\n<li>Basics of Java Program<\/li>\n<li>What is Java Virtual Machine<\/li>\n<li>What is an IDE<\/li>\n<li>NetBeans Installation<\/li>\n<li>Some Concepts to Know<\/li>\n<li>Final Notes and Next Steps<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>2. Java Programming Tutorials for Beginners: Write Your First Java Program<\/strong><\/h4>\n<ul>\n<li>Create a Netbeans Project<\/li>\n<li>Understanding the NetBeans Environment<\/li>\n<li>Create a New Project<\/li>\n<li>Run the Program<\/li>\n<li>Next Steps<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>3. Java Programming Tutorials for Beginners: Structure of a Java Program<\/strong><\/h4>\n<ul>\n<li>Comments in Java<\/li>\n<li>The package Keyword<\/li>\n<li>The public class Keyword<\/li>\n<li>The public static void main<\/li>\n<li>System.out.println<\/li>\n<li>The Semicolon (;)<\/li>\n<li>Simple Quiz<\/li>\n<li>Next Steps<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>4. Variables Data Types in Java<\/strong><\/h4>\n<ul>\n<li>What are Variables<\/li>\n<li>Integer Data Type<\/li>\n<li>Double Data Type<\/li>\n<li>Short and Float Data Type<\/li>\n<li>Character Data Type<\/li>\n<li>Java String Variables<\/li>\n<li>Operator Precedence<\/li>\n<li>Short Quiz<\/li>\n<li>Final Notes and Next Steps<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>5. Conditional Statements in Java (if Statements)<\/strong><\/h4>\n<ul>\n<li>The if Statement<\/li>\n<li>Nested if Statement<\/li>\n<li>if-else Statement<\/li>\n<li>if-else-if Statement<\/li>\n<li>Next Steps<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>6. Loops in Java<\/strong><\/h4>\n<ul>\n<li>How Loops Work<\/li>\n<li>For Loops<\/li>\n<li>While Loops<\/li>\n<li>Do While Loops<\/li>\n<li>Exiting a Loop<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>7. Switch Statements in Java<\/strong><\/h4>\n<ul>\n<li>How Switch Statements Work<\/li>\n<li>Switch Statement Example<\/li>\n<li>Comparing with if-else-if Statement<\/li>\n<li>Notes on the Switch Statement<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>8. Arrays in Java<\/strong><\/h4>\n<ul>\n<li>Array Declaration<\/li>\n<li>Creating New Arrays<\/li>\n<li>Using Foreach Loop<\/li>\n<li>Passing Array as Methods<\/li>\n<li>The Array Class in Java<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>9. Working with Strings<\/strong><\/h4>\n<ul>\n<li>Creating Strings in Java<\/li>\n<li>How to Get Length of String<\/li>\n<li>Concatenating two Strings<\/li>\n<li>Creating Format Strings<\/li>\n<li>Useful String Methods<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>10. Reading and Writing to File<\/strong><\/h4>\n<ul>\n<li>Introduction to Streams<\/li>\n<li>Using FileOutputStream<\/li>\n<li>Reading Data From File<\/li>\n<li>Creating and Writing to File<\/li>\n<li>Creating Directory in Java<\/li>\n<li>Listing Directory Contents<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>11. OOP Concepts in Java\u00a0<\/strong><\/h4>\n<ul>\n<li>Inheritance in Java<\/li>\n<li>Overriding<\/li>\n<li>Polymorphism in Java<\/li>\n<li>Encapsulation<\/li>\n<li>Multiple Inheritance and Interfaces<\/li>\n<li>Data Abstraction : Abstract Classes in Java<\/li>\n<li>Packages in Java<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>12. Inheritance in Java<\/strong><\/h4>\n<ul>\n<li>Introduction to Inheritance in Java<\/li>\n<li>Extends Keyword<\/li>\n<li>The Super Keyword<\/li>\n<li>Calling the SuperClass Constructor<\/li>\n<li>The Instanceof Keyword<\/li>\n<li>Types of Inheritance<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>13. Overriding in Java<\/strong><\/h4>\n<ul>\n<li>Introduction to Overriding<\/li>\n<li>Method Overriding<\/li>\n<li>Difference between Overloading and Overriding<\/li>\n<li>Using the Super Keyword<\/li>\n<li>Final Notes<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>14. Polymorphism in Java<\/strong><\/h4>\n<ul>\n<li>What is Polymorphism<\/li>\n<li>Virtual Methods in Java<\/li>\n<li>Polymorphism Example<\/li>\n<li>\u00a0Dynamic Polymorphism<\/li>\n<li>Static Polymorphism<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>15. Encapsulation<\/strong><\/h4>\n<ul>\n<li>Introduction to Encapsulation in Java<\/li>\n<li>Examples<\/li>\n<li>Advantages<\/li>\n<li>Final Notes on Encapsulation<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>16. Multiple Inheritance and Interfaces<\/strong><\/h4>\n<ul>\n<li>Introduction to Interfaces in Java<\/li>\n<li>Interface Declaration<\/li>\n<li>Implementing an Interface<\/li>\n<li>Extending Interfaces<\/li>\n<li>Similarity of Interfaces and Classes<\/li>\n<li>Difference Between Interfaces and Classes<\/li>\n<li>Final Notes<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>17. Data Abstraction : Abstract Classes in Java<\/strong><\/h4>\n<ul>\n<li>Introduction to Abstract Classes<\/li>\n<li>Inheriting an Abstract Class<\/li>\n<li>Abstract Methods<\/li>\n<li>Final Notes<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>18. Packages in Java<\/strong><\/h4>\n<ul>\n<li>What are Packages?<\/li>\n<li>Creating a Package in Java<\/li>\n<li>The Import directive<\/li>\n<li>Directory Structure of Packages<\/li>\n<li>The CLASSPATH System Variable<\/li>\n<\/ul>\n<div style=\"text-align: center;\"><a href=\"https:\/\/www.kindsonthegenius.com\/java\" target=\"_blank\" rel=\"noopener\">Goto Java Tutorials Page<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you want to learn Java as a beginner to a Java Programming expert, this is the right place. The clue to success is: try &hellip; <\/p>\n","protected":false},"author":1,"featured_media":658,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[85],"tags":[],"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/88"}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":3,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":1540,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions\/1540"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media\/658"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}