Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Basic Java Programming for Kids and Beginners
Basic Java Programming for Kids and Beginners
Basic Java Programming for Kids and Beginners
Ebook149 pages1 hour

Basic Java Programming for Kids and Beginners

Rating: 0 out of 5 stars

()

Read preview

About this ebook

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.
LanguageEnglish
PublisheriUniverse
Release dateJul 30, 2019
ISBN9781532078767
Basic Java Programming for Kids and Beginners

Related to Basic Java Programming for Kids and Beginners

Related ebooks

Computers For You

View More

Related articles

Reviews for Basic Java Programming for Kids and Beginners

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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.png

    Table 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

    Enjoying the preview?
    Page 1 of 1