Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou
Tài liệu ghi chú buổi thảo luận môn Nhập môn Java, bao gồm giới thiệu về Git, cấu trúc điều khiển và đệ quy trong Java.
プレビューを生成中...
Discussion 1: Intro to Java Christine Zhou Agenda Introductions & About Me Announcements Git Worksheet! Introductions & About Me Christine, 3rd year Email: cazhou@berkeley.edu Feel free to email me! Always available to chat one-on-one What is your name, year, major? Announcements Lab1 is due tonight at 11:59PM. HW0 is due this Friday at 11:59PM. Office hours and discussion/lab calendars on the course website. Discussion survey: shoutkey.com/leak Git VCS (version-control system), can save your work and go back to previous versions very easily You have a central repository living somewhere stored by git You can use ‘git clone’ to get a copy of this central repository anywhere you want (ie. on your local computer and instructional account) When you ‘git add X.java’, ‘git commit -m “...”’, and ‘git push’, you are sending your work to the central repository Not to other copies of the repository! Some Git Commands to Know Camera analogy git add: take a snapshot of your files (this is called staging your changes) git commit: save the snapshot that you took with a message git push: pushes snapshots from your repo to the central repo git pull: pulls snapshots from the central repo to your repo git status: shows the status of your repo git log: shows all the snapshots/corresponding messages you’ve made on your repo git tag: mark a specific snapshot with a tag 1. Javaian Rhapsody Variable assignments, to different types (String, int, Singer) String and int are provided in Java, Singer is a self-defined class! 1. Javaian Rhapsody (continued) While loops will continue as long as the condition is true Condition in this case is x>0 Possible to loop infinitely if the condition is always true Maybe we forget to decrement x? 1. Javaian Rhapsody (continued) Create arrays in Java with the bracket notation, can access with indexing For loops: for (instantiation; condition; incrementation) Will do what is within the brackets
… Tải file gốc để đọc toàn bộ tài liệu.
- ドキュメント名
- Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou
- 学校 / コース
- University of California, Berkeley · Lập trình Java
- 著者(ドキュメント内)
- Christine Zhou
- 内容
- Tài liệu giới thiệu các khái niệm cơ bản của Java như biến, vòng lặp, mảng, và cách sử dụng Git. Nó cũng bao gồm các bài tập thực hành để củng cố kiến thức.
- 目次
- Agenda
- Introductions & About Me
- Announcements
- Git
- Some Git Commands to Know
- 1. Javaian Rhapsody
- 1. Javaian Rhapsody (continued)
- 2. Fibonacci
- 2. Fibonacci (continued)
- 3. Mystery
- 3. Mystery (continued)
- Doc.pages
- 14 ページ
- アップロード者
- Giang Le
よくある質問
Tài liệu này có miễn phí không?
Có. “Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 14 trang, thuộc môn Lập trình Java. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

コメント (0)
まだコメントはありません。最初のコメントを書きましょう!