{"id":263,"date":"2026-07-18T20:09:39","date_gmt":"2026-07-18T20:09:39","guid":{"rendered":"https:\/\/sasor.africa\/?post_type=product&#038;p=263"},"modified":"2026-07-20T15:32:11","modified_gmt":"2026-07-20T15:32:11","slug":"java-programming-made-easy-scratch","status":"publish","type":"product","link":"https:\/\/sasor.africa\/?product=java-programming-made-easy-scratch","title":{"rendered":"Java Programming Made Easy + Scratch"},"content":{"rendered":"<p><strong>Table of Contents<\/strong><br \/>\nData and Information, 1<br \/>\nNumber Systems, Data Representation 2<br \/>\nScratch Programming 22<\/p>\n<p><strong>Chapter 1 <\/strong><br \/>\n1.1 Introduction to Java 42<br \/>\n1.2 System Requirements for Java 43<br \/>\n1.3 Writing \/ Viewing Environment, Keyboard Shortcuts 43<br \/>\n1.4 Installation of the Java API files 44<br \/>\n1.5 Comments 48<br \/>\n1.6 Types and uses of Brackets 48<br \/>\n1.7 Unicode Values 49<br \/>\n1.8 Numbers and Equations 49<br \/>\n1.9 NETBEANS IDE 50<br \/>\n1.10 Changing the default JDK 50<br \/>\n1.11 Changing the size of the frame 54<br \/>\n1.12 Naming Components 54<br \/>\n1.13 Activities 55<br \/>\n1.14 Formatting Components 55<\/p>\n<p><strong>Chapter 2<\/strong><br \/>\n2.1 Variables 57<br \/>\n2.2 Reserved Words 58<br \/>\n2.3 Data Types 58<br \/>\n2.4 Get and Set Methods 60<br \/>\n2.5 Activities 68<br \/>\n2.6 Type Casting 62<br \/>\n2.7 Activities 65<br \/>\n2.8 Navigating between frames 69<br \/>\n2.9 Add a Picture Background 73<br \/>\n2.10 Palette Components- Textfield, Textarea, Radio button etc 74<br \/>\n2.11 Beans Binding 83<br \/>\n2.12 Disabling Components 83<br \/>\n2.13 Date and Time 86<br \/>\n2.14 Setting a Password 85<br \/>\n2.15 Transfer of data between frames 88<br \/>\n2.16 Printing 88<br \/>\n2.17 Adding Sound 89<br \/>\n2.18 Adding Videos 88<br \/>\n2.19 Executable Files 89<br \/>\n2.20 Activities 91<\/p>\n<p><strong>Chapter 3<\/strong><br \/>\n3.1 Assignment Statements 96<br \/>\n3.2 Activities 100<br \/>\n3.3 Arithmetic \/ Logical Operators 105<br \/>\n3.4 Scope of a variable 108<br \/>\n3.5 Types of Errors 108<br \/>\n3.6 Formatting data 108<br \/>\n3.6 Keyboard Input 111<br \/>\n3.7 Activities 113<br \/>\n3.8 Selection Structures(The if statement) 118<br \/>\n3.9 Example using Algorithms 120<br \/>\n3.10 Activity on \u2018if\u2019 statement 123<br \/>\n3.11 The Conditional Operator 126<br \/>\n3.12 The Switch Statement 127<br \/>\n3.13 Q &amp; A on the Switch Statement 128<br \/>\n3.14 Exercise \u2013 Switch Statement 129<\/p>\n<p><strong>Chapter 4<\/strong><br \/>\n4.1 Math Class, methods and Examples 131<br \/>\n4.2 Exercise &#8211; Math Class 134<br \/>\n4.3 String Class, Methods and Examples 135<br \/>\n4.4 SUMMARY OF STRING METHODS 141<br \/>\n4.5 Exercise \u2013 String Class 145<br \/>\n4.6 Advanced methods in the String class 147<br \/>\nChapter 5<br \/>\n5.1 Looping Structures 153<br \/>\n5.2 For\u2026loop 153<br \/>\n5.3 Q &amp; A &#8211; for loop 157<br \/>\n5.4 Exercise \u2013 for loop 161<br \/>\n5.5 Conditional Looping: while loop 165<br \/>\n5.6 Conditional Looping: do\u2026 while 165<br \/>\n5.7 Rules for Algorithms + Exercises 169<br \/>\n5.8 Validation 170<br \/>\n5.9 Q &amp; A \u2013 Conditional Loops 171<br \/>\n5.10 Exercise \u2013 Conditional Loops 173<\/p>\n<p><strong>Chapter 6<\/strong><br \/>\n6.1 Character Class 178<br \/>\n6.2 Q &amp; A- Character Class 178<br \/>\n6.3 Exercise \u2013 Character Class 180<\/p>\n<p><strong>Chapter 7<\/strong><br \/>\n7.1 Static \/ non Static Methods 181<br \/>\n7.2 Void \/ Typed Methods 182<br \/>\n7.3 Parameter Passing 188<br \/>\n7.4 Q &amp; A 189<br \/>\n7.5 Method Overloading 191<br \/>\n7.6 Exercise \u2013 Methods 192<br \/>\n7.7 Classes, Objects, Accessors &amp; Mutators- Introduction 193<\/p>\n<p><strong>Chapter 8<\/strong><br \/>\n8.1 One Dimensional Arrays 194<br \/>\n8.2 Populating an Array 196<br \/>\n8.3 Displaying of Data 199<br \/>\n8.4 Examples 200<br \/>\n8.5 Sort Techniques + Code 205<br \/>\n8.6 Search Technique + Code 209<br \/>\n8.7 Exercise 211<br \/>\n8.9 Linked Arrays 218<\/p>\n<p><strong>Chapter 9<\/strong><br \/>\n9.1 Exception Handling Techniques 224<br \/>\n9.2 Examples of checked \/ unchecked Exceptions 225<\/p>\n<p><strong>Chapter 10<\/strong><br \/>\n10.1 Text Files 226<br \/>\n10.2 Importing Data + Q &amp; A 227<br \/>\n10.3 Exporting Data + Q &amp; A 230<br \/>\n10.4 Appending \/ Adding to Files 231<br \/>\n10.5 Examples 232<br \/>\n10.6 Exercise \u2013 Text Files 235<\/p>\n<p><strong>Chapter 11<\/strong><br \/>\n11.1 Classes and Objects 240<br \/>\n11.2 Definitions 240<br \/>\n11.3 Examples with code 241<br \/>\n11.4 Creating Objects from Text Files 259<br \/>\n11.5 Activities 265<br \/>\n11.6 Array of Objects 266<br \/>\n11.7 Simple example + activity 271<br \/>\n11.8 Multiple object classes \u2013 Example + activity 273<br \/>\n11.9 Multiple object classes \u2013 Complex Example + activity 292<br \/>\n11.10 Inheritance 294<br \/>\n11.11 Polymorphism 304<\/p>\n<p><strong>Chapter 12<\/strong><br \/>\n12.1 Two Dimensional Arrays: Introduction 306<br \/>\n12.2 Populating 2D Arrays 307<br \/>\n12.3 Display 308<br \/>\n12.4 Q &amp; A 309<br \/>\n12.5 Exercise 317<\/p>\n<p><strong>Chapter 13<\/strong><br \/>\n13.1 Dynamic Components 322<br \/>\n13.2 Dynamic Arrays &#8211; Array List 324<\/p>\n<p><strong>Chapter 14<\/strong><br \/>\n14.1 Concepts of Normalisation 325<br \/>\n14.2 Rules for Normalisation forms 326<br \/>\n14.3 Examples and Activities 328<br \/>\n14.4 A Data Dictionary 333<br \/>\n14.5 Input Mask 333<br \/>\n14.6 Validation Rules 333<br \/>\n14.7 DB CONNECTIVITY 335<br \/>\n14.8 Derby Database 336<br \/>\n14.9 Create a new Database 337<br \/>\n14.10 Import Data to a Derby Database (CSV files) 348<br \/>\n14.11 Direct Connection 350<br \/>\n14.12 Java Persistence API \u2013 Entity Manager 355<br \/>\n14.13 Displaying Data 360<br \/>\n14.14Adding Records 361<br \/>\n14.15Deleting Records 362<br \/>\n14.16Editing Records 363<br \/>\n14.17 Activities 368<br \/>\n14.18 Foreign keys 378<br \/>\n14.19 Iterator and Navigation 382<\/p>\n<p><strong>Chapter 15<\/strong><br \/>\n15.1 SQL\u2019s 385<br \/>\n15.2 Activities 420<\/p>\n<p><strong>Appendix<\/strong><br \/>\nA Unicode Chart 429<br \/>\nBibliography 430<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"PDq2pG_selectionAnchorContainer\" data-start=\"59\" data-end=\"389\">This book serves as a learning guide as well as a tutorial with questions and detailed solutions. The book teaches Grade 10 Scratch programming and includes Java Programming concepts from the Grades 11 and 12 syllabi. Learners of all ability levels may benefit from the exercises as questions selected show conceptual progression.<\/p>\n<p data-start=\"391\" data-end=\"654\">The accompanying CD is free and contains a copy of NetBeans 7, a copy of iGrasp 1.8.7, a copy of Scratch 1.4, a folder containing an intensive SQL guide, the API files, comprehensive sample programming projects as well as some solutions to questions in this book.<\/p>\n","protected":false},"featured_media":264,"comment_status":"open","ping_status":"closed","template":"","meta":{"pmpro_default_level":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"product_brand":[],"product_cat":[23,24,25],"product_tag":[26,27,28],"class_list":["post-263","product","type-product","status-publish","has-post-thumbnail","product_cat-grade-10","product_cat-grade-11","product_cat-grade-12","product_tag-coding","product_tag-java","product_tag-programming","pmpro-has-access","desktop-align-left","tablet-align-left","mobile-align-left","first","instock","sale","shipping-taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/sasor.africa\/index.php?rest_route=\/wp\/v2\/product\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sasor.africa\/index.php?rest_route=\/wp\/v2\/product"}],"about":[{"href":"https:\/\/sasor.africa\/index.php?rest_route=\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/sasor.africa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sasor.africa\/index.php?rest_route=\/wp\/v2\/media\/264"}],"wp:attachment":[{"href":"https:\/\/sasor.africa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/sasor.africa\/index.php?rest_route=%2Fwp%2Fv2%2Fproduct_brand&post=263"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/sasor.africa\/index.php?rest_route=%2Fwp%2Fv2%2Fproduct_cat&post=263"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/sasor.africa\/index.php?rest_route=%2Fwp%2Fv2%2Fproduct_tag&post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}