Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Labs | Java Preparation for 6.170 | Electrical Engineering and Computer Science | MIT OpenCourseWare Subscribe to the OCW Newsletter Help| Contact Us   FIND COURSES Find courses by: Topic MIT Course Number Department Collections New Courses Most Visited Courses OCW Scholar Courses Audio/Video Lectures Online Textbooks Supplemental Resources OCW Highlights for High School MITx & Related OCW Courses MIT Open Learning Library Cross-Disciplinary Topic Lists Energy Entrepreneurship Environment Introductory Programming Life Sciences Transportation Translated Courses 繁體字 / Traditional Chinese Türkçe / Turkish (비디오)한국 / Korean For Educators Chalk Radio Podcast OCW Educator Portal Instructor Insights by Department Residential Digital Innovations OCW Highlights for High School Additional Resources Give Now Make a Donation Why Give? Our Supporters Other Ways to Contribute Become a Corporate Sponsor About About MIT OpenCourseWare Site Statistics OCW Stories Newsletter Chalk Radio Podcast Open Matters Blog Search Tips X Exclude words from your search Put - in front of a word you want to leave out. For example, jaguar speed -car Search for an exact match Put a word or phrase inside quotes. For example, "tallest building". Search for wildcards or unknown words Put a * in your word or phrase where you want to leave a placeholder. For example, "largest * in the world". Search within a range of numbers Put .. between two numbers. For example, camera $50..$100. Combine searches Put "OR" between each search query. For example, marathon OR race. Home » Courses » Electrical Engineering and Computer Science » Java Preparation for 6.170 » Labs Labs Course Home Syllabus Calendar Lecture Notes Labs Projects Study Materials Related Resources Download Course Materials This course makes use of Athena, MIT's UNIX-based computing environment. OCW does not provide access to this environment. The labs for the course began after the lecture session and were designed to take one hour. During the lab sessions, students received assistance from the instructors. Since 6.092 was a preparatory class for MIT course 6.170, many of the lab assignments were taken from 6.170 material. The files (.properties and .css) are specific to the Lab 2 assignment. Lab files. DAY # ASSIGNMENTS SOLUTIONS 1 Lab 1: JavaTM Basics, Problems 1-4 (PDF) Lab 1 Solutions (PDF) MathCalc.java (JAVA) Primes.java (JAVA) StringCharacters.java (JAVA) 2 Lab 1 (cont.): Balls and Boxes, problem 7 (PDF) Box.java (JAVA) Ball.java (JAVA) BallContainer.java (JAVA) BoxTest.java (JAVA) 3 Lab 2: MadLibs: Hours of Linguistic Fun (PDF) junit.zip (ZIP) (The ZIP file contains: 100 .class files, 1 .css file, 6 .gif files, 1 .mf file, and 1 .properties file.) lab2.tar.gz (GZ) (The GZ file contains: 7 .java files, 1 .classpath file, and 1 .project file.) MadLib.java (JAVA) MadLibTemplate.java (JAVA) MadLibTest.java (JAVA) MadHamlet.java (JAVA) MadHello.java (JAVA) StdStreamUI.java (JAVA) UserInterface.java (JAVA) 4 Lab 3: Comparators and Ordering (PDF) lab3.tar.gz (GZ) (The GZ file contains: 6 .java files, and 1 java~ file.) AntiAliasJButton.java (JAVA) AntiAliasJLabel.java (JAVA) ComparatorExample.java (JAVA) ExtendedTableRenderer.java (JAVA) PeopleComparator.java (JAVA) Person.java (JAVA) Need help getting started? Don't show me this again Don't show me this again Welcome! This is one of over 2,400 courses on OCW. Explore materials for this course in the pages linked along the left. MIT OpenCourseWare is a free & open publication of material from thousands of MIT courses, covering the entire MIT curriculum. No enrollment or registration. Freely browse and use OCW materials at your own pace. There's no signup, and no start or end dates. Knowledge is your reward. Use OCW to guide your own life-long learning, or to teach others. We don't offer credit or certification for using OCW. Made for sharing. Download files for later. Send to friends and colleagues. Modify, remix, and reuse (just remember to cite OCW as the source.) Learn more at Get Started with MIT OpenCourseWare Find Courses Find by Topic Find by Course Number Find by Department New Courses Most Visited Courses OCW Scholar Courses Audio/Video Courses Online Textbooks Instructor Insights Supplemental Resources MITx & Related OCW Courses MIT Open Learning Library Translated Courses For Educators Chalk Radio Podcast OCW Educator Portal Instructor Insights by Department Residential Digital Innovations OCW Highlights for High School Additional Resources Give Now Make a Donation Why Give? Our Supporters Other Ways to Contribute Become a Corporate Sponsor About About OpenCourseWare Site Statistics OCW Stories Newsletter Open Matters Blog Tools Help & FAQs Contact Us Accessibility Site Map Privacy & Terms of Use RSS Feeds Our Corporate Supporters About MIT OpenCourseWare MIT OpenCourseWare is an online publication of materials from over 2,500 MIT courses, freely sharing knowledge with learners and educators around the world. Learn more » © 2001–2018 Massachusetts Institute of Technology Your use of the MIT OpenCourseWare site and materials is subject to our Creative Commons License and other terms of use.