Join Todd Perkins for an in-depth discussion in this video Functions, part of Learning Java Applications (2016).
- There are different kinds of functions in Java…so let's look at a little about how functions work.…So, inside of my main method here,…what I'm going to do is I'm going to call another function.…So, below the main method, I'm going to create that.…I'm going to create a public static void function,…and I'm going to call this exampleStatic,…and it's not going to receive any parameters.…So, inside of main, if I want to call this method,…since it's static, I call it by first calling out…the Review class, not an instance of the class.…
So, Review, and then in my code,…I see exampleStatic.…So, in here, I'll just print out a simple message.…So, System.out.print, and then I'll just write…the name of the method, exampleStatic.…So, when I run the application,…if I look in the output window,…and I'm going to choose to always save resources…before launching, right here.…In the output window, I see exampleStatic, right there.…So, now it's at the bottom.…So, what if I wanted to make method that wasn't static?…Well, I simply remove the static modifier.…
- 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.