[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-347820-105":59,"doc-detail-347820-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","introduction-to-programming-using-java-version-50-about-the-book-version","Introduction to Programming Using Java - Version 5.0 - About the book version","","Instructional text introducing Java programming fundamentals, structured around conceptual “mental landscape” topics and practical programming building blocks. Covers the Java Virtual Machine, object-oriented programming, the modern user interface, networking concepts, and foundational program elements such as names, variables, types, objects, subroutines, and string operations. Includes chapters on expressions, control flow (loops, branches, switch), exceptions, GUI programming, and development environments, supported by quizzes and exercises across early chapters.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/introduction-to-programming-using-java-version-50-about-the-book-version/347820/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/introduction-to-programming-using-java-version-50-about-the-book-version/347820.png","ImageObject",300,407,{"name":92,"@type":93},"Lucas Martin","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-09-26","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What Java topics are introduced in the early chapters?","Question",{"text":112,"@type":113},"The book introduces the Java Virtual Machine, object-oriented programming, and core program building blocks, then proceeds to names, variables, types, objects, subroutines, and string operations.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the book handle input/output in Java?",{"text":117,"@type":113},"It covers text input and output, including text input examples and functions, text output, formatted output, and an introduction to file I/O.",{"name":119,"@type":110,"acceptedAnswer":120},"What programming control structures are covered?",{"text":121,"@type":113},"Control flow topics include blocks, loops, branches, the while/do..while forms, for loops, if/else constructs, switch statements, and exception handling with try..catch. It also includes GUI programming guidance.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},347820,1790412947,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145},8796095360427,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Introduction to Programming Using Java  \nVersion 5.0, December 2006  \n(Version 5.0.2, with minor corrections, November 2007)  \nDavid J. Eck  \nHobart and William Smith Colleges  \nii  \n􀀍c1996–2007, David J. Eck  \nDavid J. Eck ([eck@hws.edu](eck@hws.edu))  \nDepartment of Mathematics and Computer Science  \nHobart and William Smith Colleges  \nGeneva, NY 14456  \nThis book can be distributed in unmodi􀀌ed form with no restrictions.  \nModi􀀌ed versions can be made and distributed provided they are distributed under the same license as the original. More speci􀀌cally: This work is licensed under the Creative Commons Attribution-Share Alike 2 .5 License. To view a copy of this license, visit [http://creativecommons.org/licenses/by](http://creativecommons.org/licenses/by)sa/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.  \nThe web site for this book is: [http://math.hws.edu/javanotes](http://math.hws.edu/javanotes)  \nContents  \nPreface xiii  \n1 The Mental Landscape 1  \n1.1 Machine Language ................................... 1  \n1.2 Asynchronous Events .................................. 3  \n1.3 The Java Virtual Machine ............................... 6  \n1.4 Building Blocks of Programs ............................. 8  \n1.5 Object-oriented Programming ............................. 9  \n1.6 The Modern User Interface .............................. 12  \n1.7 The Internet ...................................... 14  \nQuiz on Chapter 1 ...................................... 17  \n2 Names and Things 19  \n2.1 The Basic Java Application .............................. 19  \n2.2 Variables and Types .................................. 22  \n2.2.1 Variables .................................... 23  \n2.2.2 Types and Literals ............................... 24  \n2.2.3 Variables in Programs ............................. 27  \n2.3 Objects and Subroutines ................................ 28  \n2.3.1 Built-in Subroutines and Functions ...................... 29  \n2.3.2 Operations on Strings ............................. 32  \n2.3.3 Introduction to Enums ............................. 34  \n2.4 Text Input and Output ................................ 36  \n2.4.1 A First Text Input Example .......................... 37  \n2.4.2 Text Output .................................. 38  \n2.4.3 TextIO Input Functions ............................ 39  \n2.4.4 Formatted Output ............................... 41  \n2.4.5 Introduction to File I/O ............................ 43  \n2.5 Details of Expressions ................................. 44  \n2.5.1 Arithmetic Operators ............................. 45  \n2.5.2 Increment and Decrement ........................... 46  \n2.5.3 Relational Operators .............................. 46  \n2.5.4 Boolean Operators ............................... 47  \n2.5.5 Conditional Operator ............................. 48  \n2.5.6 Assignment Operators and Type-Casts .................... 48  \n2.5.7 Type Conversion of Strings .......................... 50  \n2.5.8 Precedence Rules ................................ 50  \n2.6 Programming Environments .............................. 51  \niv CONTENTS  \n2.6.1 Java Development Kit ............................. 51  \n2.6.2 Command Line Environment ......................... 52  \n2.6.3 IDEs and Eclipse ................................ 54  \n2.6.4 The Problem of Packages ........................... 56  \nExercises for Chapter 2 ................................... 58  \nQuiz on Chapter 2 ...................................... 60  \n3 Control 61  \n3.1 Blocks, Loops, and Branches ............................. 61  \n3.1.1 Blocks ...................................... 61  \n3.1.2 The Basic While Loop ............................. 62  \n3.1.3 The Basic If Statement ............................ 64  \n3.2 Algorithm Development ................................ 66  \n3.2.1 Pseudocode and Stepwise Re􀀌nement .................... 66  \n3.2.2 The 3N+1 Problem .............................. 69  \n3.2.","cbCailMlhTh0rlEF","https://ap.wps.com/l/cbCailMlhTh0rlEF","pdf",5248322,699,"English","# Preface\n# The Mental Landscape\n## Machine Language\n## Asynchronous Events\n## The Java Virtual Machine\n## Building Blocks of Programs\n## Object-oriented Programming\n## The Modern User Interface\n## The Internet\n# Names and Things\n## The Basic Java Application\n## Variables and Types\n## Objects and Subroutines\n## Text Input and Output\n## Details of Expressions\n## Programming Environments\n# Control\n## Blocks, Loops, and Branches\n## Algorithm Development\n## while and do..while\n## The for Statement\n## The if Statement\n## The switch Statement\n## Exceptions and try..catch\n## GUI Programming","[{\"question\":\"What Java topics are introduced in the early chapters?\",\"answer\":\"The book introduces the Java Virtual Machine, object-oriented programming, and core program building blocks, then proceeds to names, variables, types, objects, subroutines, and string operations.\"},{\"question\":\"How does the book handle input/output in Java?\",\"answer\":\"It covers text input and output, including text input examples and functions, text output, formatted output, and an introduction to file I/O.\"},{\"question\":\"What programming control structures are covered?\",\"answer\":\"Control flow topics include blocks, loops, branches, the while/do..while forms, for loops, if/else constructs, switch statements, and exception handling with try..catch. It also includes GUI programming guidance.\"}]","Introduction to Programming Using Java - Version 5.0 - About the book version | PDF",1790069243,1761]