[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-347827-105":59,"doc-detail-347827-en":131},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","learning-computer-programming-using-java-with-101-examples-preface-and-table-of-contents","Learning Computer Programming Using JAVA with 101 Examples - Preface and Table of Contents","","A beginner-oriented Java programming textbook introducing how to create computer programs to solve problems using high-level languages. Java is used to present modern programming concepts and object-oriented programming in a straightforward learning path. The book is based on introductory course materials and emphasizes clarity, omitting nonessential details while providing references for further study. It includes 101 Java examples with source code availability and typographical conventions to support new terms, keywords, and code reading.",{"@graph":69,"@context":123},[70,84,106],{"@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/learning-computer-programming-using-java-with-101-examples-preface-and-table-of-contents/347827/",{"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/learning-computer-programming-using-java-with-101-examples-preface-and-table-of-contents/347827.png","ImageObject",300,407,{"name":92,"@type":93},"Hazel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",18,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Who is the author and what is his role?","Question",{"text":113,"@type":114},"Dr. Atiwong Suchato is an assistant professor at the Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University. He teaches computer programming courses and has held academic leadership roles.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What is the main purpose of this book?",{"text":118,"@type":114},"The book aims to be a first programming course textbook that teaches students to create computer programs using Java to solve problems using high-level languages.",{"name":120,"@type":111,"acceptedAnswer":121},"Why does the book choose Java as the language of instruction?",{"text":122,"@type":114},"Java is selected because its grammar is relatively simple, it supports introducing object-oriented programming, and it is widely adopted by industry.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},347827,1790442429,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":36,"preview_urls":147},137441390410,"https://ap-avatar.wpscdn.com/avatar/2000252f4ab5702993?_k=1776741390130283984","Learning Computer Programming using  \nJAVA  \nwith  \nl  \nAtiwong Suchato  \nLEARNING COMPUTER PROGRAMMING USING JAVA WITH 101 EXAMPLES Atiwong Suchato  \n1. Java (Computer program language) .  \n005.133  \nISBN 978-616-551-368-5  \nFirst Printing: July, 2011  \nAll rights reserved. No part of this publication may be reproduced or distributed in any forms or by any means without the prior written consent of the author.  \nPublished by  \nDepartment of Computer Engineering Faculty of Engineering, Chulalongkorn University Phayathai, Bangkok, 10330 THAILAND [http://www.cp.eng.chula.ac.th](http://www.cp.eng.chula.ac.th)  \nThis book is a creation of the Knowledge Collection and Contribution Initiatives by the Department of Computer Engineering, Chulalongkorn University  \nTo my parents, who have always committed to providing the best education for me.  \nPreface  \nComputer programming skills are currently must-have skills for every university graduate in any fields of Science and Engineering. This book is aimed to be a textbook suitable to be used in a first programming course for university-level students. The primary goals of this book are to introduce students to creating computer programs to solve problems with high-level languages. Programming concepts appearing in modern programming languages are presented through writing Java programs. Java is selected as the language of choice due to its relatively simple grammars. It is also a good choice for introducing students to the concept of object-oriented programming which is one of the most popular paradigms in the current days. Furthermore, Java is one of the most widely-adopted programming languages by the industries.  \nThis book is developed from the class notes that the author wrote for the introductory computer programming course offered to students in the International School of Engineering, Chulalongkorn University. The writing style and the content organization of this book is designed to be straight-forward. Details not crucial to understanding the main materials presented in their related sections are usually omitted in order to relieve the readers from worrying about having to know ‘too much’. References for further readings will be given along the way.  \nThe author hopes that this book would introduce readers to the joy of creating computer programs and, with examples given in this book, writing computer programs would appear to be more realizable, especially for beginners with absolutely no programming background.  \nThe source code used in all 101 examples, as well as possible list of errata, can be found on the Facebook page of this book: [http://www.facebook.com/programming101](http://www.facebook.com/programming101)  \nTypographical Conventions  \nThe following typographical conventions are used in this book:  \nItalic  \nindicates new terms, class names, method names, and arithmetic variables.  \nBold constant width  \nindicates Java keywords, source codes, expressions used in their related source codes.  \nAbout the Author  \nDr. Atiwong Suchato is currently an assistant professor at the department of Computer Engineering, Faculty of Engineering, Chulalongkorn University. He earned his bachelor degree in Electrical Engineering with the first-class honor from Chulalongkorn University while being ranked in the 1st among the graduated class.  \nDr. Suchato received the Anandamahidol foundation scholarship in 1997 to pursue his advanced degrees at Massachusetts Institute of Technology (MIT) . In 2004, he received his doctoral degree in Electrical Engineering and Computer Science from MIT and joined the Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University. Since then, Dr. Suchato has been teaching computer programming courses to students in several programs including programs in the International Engineering School (ISE), Chulalongkorn University. He was appointed an assistant dean position overlooking the Information Technology strategies and their impleme","cbCailuPJlq27CF8","https://ap.wps.com/l/cbCailuPJlq27CF8","pdf",7262195,396,"English","# Preface\n## Typographical Conventions\n## About the Author\n# Table of Contents\n## Chapter 1: Introduction to Computer Systems\n## Exercise","[{\"question\":\"Who is the author and what is his role?\",\"answer\":\"Dr. Atiwong Suchato is an assistant professor at the Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University. He teaches computer programming courses and has held academic leadership roles.\"},{\"question\":\"What is the main purpose of this book?\",\"answer\":\"The book aims to be a first programming course textbook that teaches students to create computer programs using Java to solve problems using high-level languages.\"},{\"question\":\"Why does the book choose Java as the language of instruction?\",\"answer\":\"Java is selected because its grammar is relatively simple, it supports introducing object-oriented programming, and it is widely adopted by industry.\"}]","Learning Computer Programming Using JAVA with 101 Examples - Preface and Table of Contents | PDF",1790069263,998,[148,152,156,160,164,168,172,176,180,184,188,193,198,203,208,213,218,223,227,231,235,240,245,250,255,260,265,270,275,280,284,289,294,299,304,309,314,319,324,329],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d8b1f43f6e5a02bfeb24859aadbcf0d8.webp",983,1390,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f45938a6172eddcd58f9971c71613347.webp",982,1398,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/0d857d529933b92b743f0a11aece9ec2.webp",981,1396,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/6042ea4f035df462277b20a445a02a79.webp",980,1395,{"page_no":24,"url":165,"width":166,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/82f2db8fc36170e3db03a10357a3d780.webp",979,1394,{"page_no":29,"url":169,"width":170,"height":171},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/924b6440b1b4f8c4c7e147a3910e5a11.webp",978,1392,{"page_no":34,"url":173,"width":174,"height":175},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/7b79c809bae195b8957dd28b15c7e289.webp",977,1391,{"page_no":39,"url":177,"width":178,"height":179},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/40afddee55ee08f9ae9fa1e06e5a4cc3.webp",976,1389,{"page_no":44,"url":181,"width":182,"height":183},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4fa68b1e2200dd8a7507b66e7a458af5.webp",975,1388,{"page_no":52,"url":185,"width":186,"height":187},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/84bf4b456e4d6b2d0ae1686493a2da42.webp",974,1387,{"page_no":189,"url":190,"width":191,"height":192},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/06de320827a2e6b5279ebea3f1ac5574.webp",973,1385,{"page_no":194,"url":195,"width":196,"height":197},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/38a1282455346f08ef48f6878603c9bd.webp",972,1384,{"page_no":199,"url":200,"width":201,"height":202},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/dcdbeed31ba72aacbfbc442ba666e61a.webp",971,1382,{"page_no":204,"url":205,"width":206,"height":207},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2a335d73c77f6d89f1aae1805da2456e.webp",970,1381,{"page_no":209,"url":210,"width":211,"height":212},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9665f831edcc9fde5ef5f2efac933b03.webp",969,1379,{"page_no":214,"url":215,"width":216,"height":217},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ada379a1476f4bf1866ad3d9bbcc5373.webp",968,1378,{"page_no":219,"url":220,"width":221,"height":222},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/0b0c4ceeb8dafed358d6411201e40001.webp",967,1377,{"page_no":105,"url":224,"width":225,"height":226},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9aaa1fc5421c9705eb74393238249251.webp",966,1375,{"page_no":56,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f5a583a91acd5868a0652122b16ff141.webp",965,1374,{"page_no":46,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/11705d4da49e3976be33cdb9a72ffc04.webp",964,1372,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e003edc12ed703dea9a8e006872da33e.webp",963,1371,{"page_no":241,"url":242,"width":243,"height":244},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/7d1022b91bd2f6b4fe4e3657b2bc563f.webp",962,1369,{"page_no":246,"url":247,"width":248,"height":249},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/cb5197a4393eb9a192129e3c74f252af.webp",961,1368,{"page_no":251,"url":252,"width":253,"height":254},24,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/0239dc5f93a6834236c6ff002429f1de.webp",960,1367,{"page_no":256,"url":257,"width":258,"height":259},25,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/821ad86056d7299e48eaa3dc747e18ed.webp",959,1365,{"page_no":261,"url":262,"width":263,"height":264},26,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/15312b5d59a437f03479b3942574ea3e.webp",958,1364,{"page_no":266,"url":267,"width":268,"height":269},27,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/8ddcfd10711c7b7032d81998e1197cd9.webp",957,1362,{"page_no":271,"url":272,"width":273,"height":274},28,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/56a8cac014b399324066b0d1c612a22e.webp",956,1361,{"page_no":276,"url":277,"width":278,"height":279},29,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4c0d2d17abcf8467db0ab50dd2e44d1b.webp",955,1359,{"page_no":41,"url":281,"width":282,"height":283},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9e5e9cb43047dce86cf66ff0a5295c35.webp",954,1358,{"page_no":285,"url":286,"width":287,"height":288},31,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/36b2ebcba9daca1906def031a8f64247.webp",953,1357,{"page_no":290,"url":291,"width":292,"height":293},32,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/c7bd5f99e10f0dc0029e8d995ff0241c.webp",952,1355,{"page_no":295,"url":296,"width":297,"height":298},33,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ee395ee2ac21b99c1b053733f5f81033.webp",951,1354,{"page_no":300,"url":301,"width":302,"height":303},34,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f4753908b0db8f3edeff582513b5fd9e.webp",950,1352,{"page_no":305,"url":306,"width":307,"height":308},35,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/91127d838417bc88ee80090b0be0b4e8.webp",949,1351,{"page_no":310,"url":311,"width":312,"height":313},36,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d6a847177d5e27c22532c13568f4f816.webp",948,1349,{"page_no":315,"url":316,"width":317,"height":318},37,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9fa2781d04fa1ee33290252f76a41749.webp",947,1348,{"page_no":320,"url":321,"width":322,"height":323},38,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e15c19895811258363da0903d45dcd85.webp",946,1347,{"page_no":325,"url":326,"width":327,"height":328},39,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9fec4f7f71162332759ff48151cb3e15.webp",945,1345,{"page_no":36,"url":330,"width":331,"height":332},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e64cf770af8479cb8ac7872dc9802b90.webp",944,1344]