Basic Java Programming for Kids and Beginners
()
About this ebook
Related to Basic Java Programming for Kids and Beginners
Related ebooks
JAVA Programming for Beginners: The Simple Guide to Learning JAVA Programming fast! Rating: 0 out of 5 stars0 ratingsJava: Beginner's Guide to Programming Code with Java Rating: 0 out of 5 stars0 ratingsIntroduction to Java Programming, 2nd Edition Rating: 5 out of 5 stars5/5JAVA for Beginner's Crash Course: Java for Beginners Guide to Program Java, jQuery, & Java Programming Rating: 4 out of 5 stars4/5Java for Beginners: A Crash Course to Learn Java Programming in 1 Week Rating: 5 out of 5 stars5/5Learn Java: A Crash Course Guide to Learn Java in 1 Week Rating: 3 out of 5 stars3/5Java: Tips and Tricks to Programming Code with Java: Java Computer Programming, #2 Rating: 0 out of 5 stars0 ratingsIOS Programming For Beginners: The Simple Guide to Learning IOS Programming Fast! Rating: 0 out of 5 stars0 ratingsJavaScript: Tips and Tricks to Programming Code with Javascript Rating: 0 out of 5 stars0 ratingsProgramming Essentials Rating: 5 out of 5 stars5/5Principles of Programming: Java Level 1 Rating: 0 out of 5 stars0 ratingsJava: Beginner's Guide to Programming Code with Java: Java Computer Programming Rating: 0 out of 5 stars0 ratingsJava: Tips and Tricks to Programming Code with Java Rating: 0 out of 5 stars0 ratingsMy First In Java Rating: 0 out of 5 stars0 ratingsJava: Programming: Your Step by Step Guide to Easily Learn Java in 7 Days Rating: 4 out of 5 stars4/5Java Programming Rating: 0 out of 5 stars0 ratingsLearn Java 12 Programming: A step-by-step guide to learning essential concepts in Java SE 10, 11, and 12 Rating: 0 out of 5 stars0 ratingsSelenium Webdriver: Book1 Rating: 2 out of 5 stars2/5Java Programming for Kids: Learn Java Step By Step and Build Your Own Interactive Calculator for Fun! Rating: 2 out of 5 stars2/5JavaScript: Tips and Tricks to Programming Code with Javascript: JavaScript Computer Programming, #2 Rating: 0 out of 5 stars0 ratingsJavaScript: Beginner's Guide to Programming Code with JavaScript: JavaScript Computer Programming Rating: 0 out of 5 stars0 ratingsJavaScript: Beginner's Guide to Programming Code with JavaScript Rating: 5 out of 5 stars5/5100+ Solutions in Java: A Hands-On Introduction to Programming in Java (English Edition) Rating: 0 out of 5 stars0 ratingsJava Programming : The Complete Beginners Guide Rating: 0 out of 5 stars0 ratingsJava Programming: 24-Hour Trainer Rating: 0 out of 5 stars0 ratingsLearning Java by Building Android Games Rating: 0 out of 5 stars0 ratingsJava: Best Practices to Programming Code with Java Rating: 0 out of 5 stars0 ratingsIntroduction to Algorithms Rating: 0 out of 5 stars0 ratings
Computers For You
The Invisible Rainbow: A History of Electricity and Life Rating: 5 out of 5 stars5/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsElon Musk Rating: 4 out of 5 stars4/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsMastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5Uncanny Valley: A Memoir Rating: 4 out of 5 stars4/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5The Best Hacking Tricks for Beginners Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Fundamentals of Programming: Using Python Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsThe Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling Rating: 0 out of 5 stars0 ratings
Reviews for Basic Java Programming for Kids and Beginners
0 ratings0 reviews
Book preview
Basic Java Programming for Kids and Beginners - GreatKnowledgesharing
Copyright © 2019 GreatKnowledgesharing.
All rights reserved. No part of this book may be used or reproduced by any means, graphic, electronic, or mechanical, including photocopying, recording, taping or by any information storage retrieval system without the written permission of the author except in the case of brief quotations embodied in critical articles and reviews.
Oracle trademarks
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Microsoft trademarks
All other trademarks are the property of their respective owners.
Basic Java Programming for Kids and Beginners is an independent publication and is neither affiliated with, nor authorized, sponsored, or approved by, Microsoft Corporation.
iUniverse
1663 Liberty Drive
Bloomington, IN 47403
www.iuniverse.com
1-800-Authors (1-800-288-4677)
Because of the dynamic nature of the Internet, any web addresses or links contained in this book may have changed since publication and may no longer be valid. The views expressed in this work are solely those of the author and do not necessarily reflect the views of the publisher, and the publisher hereby disclaims any responsibility for them.
Any people depicted in stock imagery provided by Getty Images are models,
and such images are being used for illustrative purposes only.
Certain stock imagery © Getty Images.
ISBN: 978-1-5320-7875-0 (sc)
ISBN: 978-1-5320-7876-7 (e)
Library of Congress Control Number: 2019910175
iUniverse rev. date: 12/02/2019
46320.pngTable of Contents
Intro
Why you should learn Java programming language:
Computer programming:
Computer Programming Language Generations:
History of The Java programming language:
JVM, JRE, and JDK:
Chapter 1
Downloading and Installing Java JDK for Windows OS:
Setting up Environment Variables for Java:
Chapter 2
The Qualities of a good programmer:
Chapter 3
Your first Java program:
Do it yourself exercise 1:
Java Reserved Words:
Chapter 4
Variable
Types of variables in Java:
Do it yourself exercise 2:
Chapter 5
Primitive Data Types:
Chapter 6
Basic Java Operators:
Do it yourself exercise 3:
Relational Operators:
Do it yourself exercise 4:
Assignment Operator:
Logical Operators:
Do it yourself exercise 5:
Chapter 7
Working with if-then, else-if, else, and switch statement in Java
The if-then and if-then-else Statements:
The Else if statement:
Switch Statement:
Do it yourself exercise 6:
Chapter 8
Loops in Java:
While Loop:
The for Loop:
The do while loop:
Do it yourself exercise 7:
Chapter 9
Arrays:
Strings:
Do it yourself exercise 8:
Chapter 10
Scanner Class:
Jar File:
Some JAR Files Commands and Meaning:
How to Test your Jar file:
Do it yourself exercise 9:
Chapter 11
Java Random Class:
Do it yourself exercise 10:
Chapter 12
Simple GUI Using JOptionPane
Do it yourself exercise 11:
Bonus Exercise:
Simple Head or Tail Game:
Programing Development Steps:
Fun Practice Exercises:
Project 1:
Project 2:
Project 3:
Project 4:
Project 5:
Project 6:
Intro
This book is written to help integrate children within the age of 11 and beginners alike into the art of computer programming using Java programming language. No prior knowledge is required in other to use this book. All the topics covered in this book utilizes a simple and easy to follow approach. There is a do it yourself
exercise at the end of each lesson; these exercises give the readers an opportunity to apply what they’ve learned before proceeding to the next lesson. The exercises are written with a text editor in other to familiarize the readers with the basics of Java programming Language.
Why you should learn Java programming language:
Platform Independence: Java is one of the most dominant programming languages among the numerous programming languages that exist today. Java is a general-purpose high-level programming language and is commonly used for creating web and mobile applications. Java is designed to be easy to learn, write, debug, compile, and use. Java is also platform-independent, meaning Java can run on any hardware or software platform. The ability to run a Java program on any machine gives it an edge