Basic Java Programming for Kids and Beginners
()
About this ebook
Related to Basic Java Programming for Kids and Beginners
Related ebooks
Core Java Programming Rating: 4 out of 5 stars4/5Learning Java by Building Android Games Rating: 0 out of 5 stars0 ratingsJava Programming for Beginners: Programming Rating: 0 out of 5 stars0 ratingsJava 9 Programming By Example Rating: 4 out of 5 stars4/5JAVA Programming for Beginners: The Simple Guide to Learning JAVA Programming fast! Rating: 0 out of 5 stars0 ratingsWriting Computer Code: Learn the Language of Computers! Rating: 5 out of 5 stars5/5Practical Java Programming for IoT, AI, and Blockchain Rating: 0 out of 5 stars0 ratingsJAVA for Beginner's Crash Course: Java for Beginners Guide to Program Java, jQuery, & Java Programming Rating: 4 out of 5 stars4/5Java Programming Rating: 0 out of 5 stars0 ratingsJava: Best Practices to Programming Code with Java Rating: 0 out of 5 stars0 ratingsThe Java Workshop: Learn object-oriented programming and kickstart your career in software development Rating: 0 out of 5 stars0 ratingsComputer Programming Languages for Beginners Rating: 0 out of 5 stars0 ratingsCrystal Clear Java: 1St Edition Rating: 0 out of 5 stars0 ratingsIntroduction to Programming Languages Rating: 4 out of 5 stars4/5Java: Beginner's Guide to Programming Code with Java Rating: 0 out of 5 stars0 ratings100+ Solutions in Java: A Hands-On Introduction to Programming in Java (English Edition) Rating: 0 out of 5 stars0 ratingsJava for Black Jack: Learn the Java Programming Language in One Session by Writing and Running a Java-Based Card Game Simulation Rating: 0 out of 5 stars0 ratingsProgramming Constructs in Java Rating: 1 out of 5 stars1/5Coding For Everybody: CodeWithUtkarsh Rating: 0 out of 5 stars0 ratingsPython Projects for Kids Rating: 5 out of 5 stars5/5Java™ Programming: A Complete Project Lifecycle Guide Rating: 0 out of 5 stars0 ratingsIntroduction to Java Programming, 2nd Edition Rating: 5 out of 5 stars5/5Get Programming: Learn to code with Python Rating: 0 out of 5 stars0 ratingsAndroid Game Programming by Example Rating: 0 out of 5 stars0 ratingsSwift iOS Programming for Kids Rating: 0 out of 5 stars0 ratingsBasic Core Python Programming: A Complete Reference Book to Master Python with Practical Applications (English Edition) Rating: 0 out of 5 stars0 ratingsJava Programming Interviews Exposed Rating: 0 out of 5 stars0 ratingsJob Ready Java Rating: 0 out of 5 stars0 ratings
Computers For You
The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsElon Musk Rating: 4 out of 5 stars4/5The Self-Taught Computer Scientist: The Beginner's Guide to Data Structures & Algorithms Rating: 0 out of 5 stars0 ratingsMicrosoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsSQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5Fundamentals of Programming: Using Python Rating: 5 out of 5 stars5/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: 5 out of 5 stars5/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5The Musician's Ai Handbook: Enhance And Promote Your Music With Artificial Intelligence Rating: 5 out of 5 stars5/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/5Learn Typing Rating: 0 out of 5 stars0 ratingsA Quickstart Guide To Becoming A ChatGPT Millionaire: The ChatGPT Book For Beginners (Lazy Money Series®) Rating: 4 out of 5 stars4/5Computer Science I Essentials Rating: 5 out of 5 stars5/5Becoming a Data Head: How to Think, Speak, and Understand Data Science, Statistics, and Machine Learning Rating: 5 out of 5 stars5/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Storytelling with Data: Let's Practice! Rating: 4 out of 5 stars4/5CompTia Security 701: Fundamentals of Security Rating: 0 out of 5 stars0 ratingsThe Professional Voiceover Handbook: Voiceover training, #1 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/5
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