Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou
- Seiten
- 14
- Định dạng
- PPTX
- Dung lượng
- 518 KB
- Trường
- University of California, Berkeley
- Aufrufe
- 0
- Kommentare
- 0
- Lượt tải
- 0
Vorschau wird generiert...
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.
- Dokumentenname
- Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou
- Schule / Kurs
- University of California, Berkeley · Lập trình Java
- Autor (im Dokument)
- Christine Zhou
- Inhalt
- 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.
- Inhaltsverzeichnis
- 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)
- Seiten
- 14 Seiten
- Hochgeladen von
- Uni24h
Beschreibung
Trích nội dung tài liệu
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
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou“ ist kostenlos — melden Sie sich einfach an und klicken Sie auf Herunterladen, um die Originaldatei zu erhalten.
Wie viele Seiten hat dieses Dokument?
Das Dokument hat 14 Seiten, für den Kurs Lập trình Java. Sie können es vor dem Herunterladen online in der Vorschau ansehen.
Kann ich vor dem Herunterladen eine Vorschau ansehen?
Ja. Sie können sich dieses Dokument direkt auf dieser Seite im Online-Reader ansehen und dann entscheiden, ob Sie es herunterladen möchten.
Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou
Vorschau wird generiert...
Trích nội dung tài liệu
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
- Dokumentenname
- Intro to Java (Discussion 1) (Nhập môn Java) - Christine Zhou
- Schule / Kurs
- University of California, Berkeley · Lập trình Java
- Autor (im Dokument)
- Christine Zhou
- Inhalt
- 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.
- Inhaltsverzeichnis
- 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)
- Seiten
- 14 Seiten
- Hochgeladen von
- Uni24h
Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!
Ôn tập lập trình Java (MT2 Review Solutions) - Ching and Christines
Asymptotics II, Search Trees (Discussion 7) (Kỹ thuật phân tích thời gian chạy, cây tìm kiếm nhị phân) - Christine Zhou
Introduction to Java (Discussion 1) (Giới thiệu về Java) - Christine Zhou
More Sorting (Discussion 13) (Thuật toán sắp xếp nâng cao) - Christine Zhou
Giáo trình Lập trình Java
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang

Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!