Join Todd Perkins for an in-depth discussion in this video Arrays, part of Learning Java Applications (2016).
- So let's review arrays.…In Java, you create an array by first declaring…the data type of the array.…So we're going to create an array holding strings.…So we type String then we type square brackets.…So we're saying we're going to create…an array of strings, and we'll call this breakfast,…and I'm going to set it equal to a new string array.…Now when we create a new string array,…we want to make sure that we specify how many…items we want to allocate space for in the array.…So in this case, I'm going to type three inside…of the brackets in my instantiation area.…
So I go to the next line, and what we're going to do is…set the elements of the array.…So breakfast index zero will be bacon,…and then I'm going to just copy and paste…this line of code a couple of times.…So we've got three of them now.…I'll change on this line eight of my code,…I'm going to change breakfast index one…to bacon, and breakfast index two as well,…and now I'll just change this string value.…We have bacon, eggs, and let's say we have toast.…
- Installing Java and Eclipse
- Understanding basic Java syntax
- Handling Java errors
- Creating a UI with Swing
- Creating tables and connecting to data sources for tables
- Publishing a JAR file
- Installing NetBeans
- Creating JSP pages
- Setting up and connecting to databases
- Creating Java-based Android Studio projects
Skill Level Beginner
1. Install Java and an IDE
2. Java Basics Review
3. Create a User Interface with Swing
4. Tables and Data Sources
5. Application Distribution and Deployment
Publish a runnable JAR file2m 32s
6. Server-Side Java: JSP and Databases
7. Android Development
Next steps1m 16s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.