[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-347822-105":59,"doc-detail-347822-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-9-swing-edition","Introduction to Programming Using Java - Version 9 - Swing Edition","","Introduction to Programming Using Java provides a structured learning path from fundamentals to practical coding concepts, emphasizing program mental models, object-oriented foundations, and the modern user interface perspective. The curriculum covers Java language essentials such as variables, types, objects, subroutines, expressions, input/output, and control structures including loops, branching, algorithms, and switch logic. It also discusses programming environments and tooling for developing, testing, and debugging Java programs.",{"@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-9-swing-edition/347822/",{"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-9-swing-edition/347822.png","ImageObject",300,407,{"name":92,"@type":93},"Emma Wilson","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-09-26","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":8},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What version and edition does this Java book use?","Question",{"text":112,"@type":113},"It is labeled “Version 9” and “Swing Edition,” indicating the Java version focus and the Swing-related edition.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Does the PDF include the book’s source code and solutions?",{"text":117,"@type":113},"The PDF version does not include source code files, solutions to exercises, or answers to quizzes, though it links to external resources.",{"name":119,"@type":110,"acceptedAnswer":120},"How is the learning content organized in the early chapters?",{"text":121,"@type":113},"The contents outline major topics starting with programming foundations and the Java mental landscape, then covering names and objects, and progressing to control structures like loops and branching.","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},347822,1790437113,{"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":8,"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},3848291630094,"https://eur-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Introduction to Programming Using Java  \nVersion 9, Swing Edition  \nMay, 2022  \nDavid J. Eck  \nHobart and William Smith Colleges  \nThis is a PDF version of a free on-line book that is available at [https://math.hws.edu/javanotes/](https://math.hws.edu/javanotes/. The PDF does)[. The PDF does](https://math.hws.edu/javanotes/. The PDF does) not include source code 􀀌les, solutions to exercises, or answers to quizzes, but it does have external links to these resources, shown in blue.  \nThe PDF also has internal links, shown in red. These links can be used in Acrobat Reader and some other PDF reader programs.  \nii  \nThis book can be distributed in unmodi􀀌ed form for non-commercial purposes. Modi􀀌ed versions can be made and distributed for non-commercial purposes provided they are distributed under the same license as the original. More speci􀀌cally: This work is licensed under the Creative Commons AttributionNonCommercial-ShareAlike 4.0 License. To view a copy of this license, visit [http://creativecommons.org/licenses/by-nc-sa/4.0/. Other](http://creativecommons.org/licenses/by-nc-sa/4.0/. Other) uses require permission from the author.  \nThe web site for this book is: [https://math.hws.edu/javanotes](https://math.hws.edu/javanotes)  \nContents  \nPreface xi  \n1 The Mental Landscape 1  \n1.1 Machine Language ................................... 1  \n1.2 Asynchronous Events .................................. 3  \n1.3 The Java Virtual Machine ............................... 7  \n1.4 Building Blocks of Programs ............................. 9  \n1.5 Object-oriented Programming ............................. 11  \n1.6 The Modern User Interface .............................. 13  \n1.7 The Internet and Beyond ............................... 15  \nQuiz on Chapter 1 ...................................... 18  \n2 Names and Things 19  \n2.1 The Basic Java Application .............................. 19  \n2.2 Variables and Types .................................. 23  \n2.2.1 Variables .................................... 24  \n2.2.2 Types ...................................... 25  \n2.2.3 Literals ..................................... 26  \n2.2.4 Strings and String Literals ........................... 27  \n2.2.5 Variables in Programs ............................. 28  \n2.3 Objects and Subroutines ................................ 29  \n2.3.1 Built-in Subroutines and Functions ...................... 30  \n2.3.2 Classes and Objects .............................. 33  \n2.3.3 Operations on Strings ............................. 34  \n2.3.4 Text Blocks: Multiline Strings ........................ 36  \n2.3.5 Introduction to Enums ............................. 37  \n2.4 Text Input and Output ................................ 38  \n2.4.1 Basic Output and Formatted Output ..................... 39  \n2.4.2 A First Text Input Example .......................... 41  \n2.4.3 Basic TextIO Input Functions ......................... 42  \n2.4.4 Introduction to File I/O ............................ 44  \n2.4.5 Other TextIO Features ............................. 46  \n2.4.6 Using Scanner for Input ............................ 47  \n2.5 Details of Expressions ................................. 49  \n2.5.1 Arithmetic Operators ............................. 50  \n2.5.2 Increment and Decrement ........................... 50  \n2.5.3 Relational Operators .............................. 51  \n2.5.4 Boolean Operators ............................... 52  \nCONTENTS ii  \n2.5.5 Conditional Operator ............................. 53  \n2.5.6 Assignment Operators and Type Conversion ................ 53  \n2.5.7 Precedence Rules ................................ 55  \n2.6 Programming Environments .............................. 56  \n2.6.1 Getting a JDK ................................. 56  \n2.6.2 Command Line Environment ......................... 57  \n2.6.3 Eclipse IDE ................................... 60  \n2.6.4 BlueJ ...................................... 63  \n2.6.5 The Problem of Packages ........................... 64 ","cbCaig0gNVuiWDXy","https://ap.wps.com/l/cbCaig0gNVuiWDXy","pdf",6815955,790,"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 and Beyond\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","[{\"question\":\"What version and edition does this Java book use?\",\"answer\":\"It is labeled “Version 9” and “Swing Edition,” indicating the Java version focus and the Swing-related edition.\"},{\"question\":\"Does the PDF include the book’s source code and solutions?\",\"answer\":\"The PDF version does not include source code files, solutions to exercises, or answers to quizzes, though it links to external resources.\"},{\"question\":\"How is the learning content organized in the early chapters?\",\"answer\":\"The contents outline major topics starting with programming foundations and the Java mental landscape, then covering names and objects, and progressing to control structures like loops and branching.\"}]","Introduction to Programming Using Java - Version 9 - Swing Edition | PDF",1790069250,1991]