Java Certified Foundations Associate: Java Methods

Java    |    Beginner
  • 14 videos | 1h 35m 55s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 160 users Rating 4.5 of 160 users (160)
Java is an object-oriented programming language that uses classes to store data and provide methods to access and manipulate this data. In this course, you will learn how to create and use methods to manipulate the data inside a class. First, you will learn about Java methods, accessor methods, and mutator methods and how they are used in Java classes. Next, you will learn about describe overloading in Java and when to use it should be used. Next, you will learn about interfaces and how they are used to specify the behavior that a Class must implement. Finally, you will learn about the static keyword and how it can be applied to a method in a Class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Describe java methods and how they are used in java classes
    Demonstrate java methods and how they are used in java classes
    Describe java accessor methods and how they are used in java classes
    Demonstrate java accessor methods and how they are used in java classes
    Describe java mutator methods and how they are used in java classes
    Demonstrate java mutator methods and how they are used in java classes
  • Describe method overloading in java and when to use it
    Demonstrate how to perform method overloading in java
    Describe interfaces and how they are used within java to specify the behavior that a class must implement
    Demonstrate interfaces and how they are used within java
    Describe the static keyword and how it is applied to methods in java
    Describe the static keyword and how it is applied to methods in java
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 5s
    In this video, you’ll learn more about your instructor and this course. In this course, you’ll learn how to create and use methods to manipulate the data inside a class. You’ll discover Java methods, Accessor methods, and Unitary methods and see how they’re used in Java classes. Next, you’ll learn about overloading in Java and when it should be used. Finally, you’ll learn about the static keyword and how it can be applied. FREE ACCESS
  • 13m 47s
    In this video, you’ll learn more about what Java methods are. Java methods are also called functions. You’ll learn Java methods are a collection of code that performs an operation. You’ll look for operations you would have to carry out in your code repeatedly, and rather than writing in that operation over and over again, you put it into a method. You’ll see an example of this onscreen. FREE ACCESS
  • Locked
    3.  Programming Java Methods
    5m 56s
    In this video, you’ll watch a demo. In this demonstration, you’ll learn to create and use methods in Java classes. Onscreen, you’ll see the IDE on the left side in the project pane. You’ll right-click the source folder, navigate to New and click Java Class, and this will create a New Java Class. You’ll call it MethodExample.java, and then hit Enter, and it creates the class. FREE ACCESS
  • Locked
    4.  Java Accessor Methods
    8m 50s
    In this video, you’ll learn about Java Accessor Methods. These are methods you can use to access the instance variables, or fields, or properties of a class. Java Accessor Methods are also called getters, because you can think of them as getting something for you. Typically, the use case for Java Accessor Method is to retrieve the values of private fields. FREE ACCESS
  • Locked
    5.  Programming Java Accessor Methods
    6m 55s
    In this video, you’ll watch a demo. You’ll learn the use of Java accessor methods. To get started, you’ll locate my src folder, right-click on it, navigate to New, and click Java Class, and then you’ll make a Java class called AccessorExample.java. Now, you have your AccessorExample class.  FREE ACCESS
  • Locked
    6.  Java Mutator Methods
    5m 6s
    In this video, you’ll watch a demo. You’ll learn Java Mutator Methods, also called setters. You’ll learn these are used to change the elements of a class. Mutator Methods modify the instance variables or the fields of a class. You’ll learn that Mutator Methods demonstrate code encapsulation by having not only the data contained in a class, but also the methods used to operate on that data contained within that same class. FREE ACCESS
  • Locked
    7.  Programming Java Mutator Methods
    8m 41s
    In this video, you’ll watch a demo. You’ll learn more about the use of Java Mutator Methods. You’ll get started by creating a Java class. On the left-hand side in IDE in the project window, you’ll click on the src folder, navigate to New, and click Java Class. Then, you’ll create a Java class called MutatorExample. Now, in your main project window on line 1, you’ll see your mutator example class, public class MutatorExample. FREE ACCESS
  • Locked
    8.  Java Method Overloading
    9m 56s
    In this video, you’ll learn about Method Overloading in Java. This is where you have multiple methods that have the same name but different parameters. Because the methods all have the same name, Java decides at runtime based on how the method is called at that point in the code which instance of the method to use. This is called polymorphism, and you’ll learn there are three ways to perform Overloading. FREE ACCESS
  • Locked
    9.  Programming Java Method Overloading
    6m 50s
    In this video, you’ll watch a demo. In this demonstration, you’ll learn how to use method Overloading in Java. You’ll create a class to work in. On the left side of your IDE in the project pane window, you’ll right click on the source folder, navigate to New, and click Java Class. Then you’ll create a new Java Class called OverloadingExample.java. FREE ACCESS
  • Locked
    10.  Java Interfaces
    7m 4s
    In this video, you’ll learn about interfaces in Java. These are similar to classes in Java because they contain methods and variables. But you’ll learn there are a few key differences between an interface and a class. The first is that in an interface, all methods are abstract by default. They don't contain any code bodies themselves. They have the method signature that defines the method name, the return type, its access modifier, and parameters. FREE ACCESS
  • Locked
    11.  Programming Java Interfaces
    9m 5s
    In this video, you’ll watch a demo. You’ll learn how to create and use Java interfaces. You’ll create an interface, and then you’ll learn how to use it. You’ll also learn why you’d want to use one. To start, you’ll create an interface within your project. On the left side, in IDE under the Project pane, you’ll right-click on your source folder, navigate to New>Java Class, and then you’ll see Class, Interface, Enum, and Annotation.  FREE ACCESS
  • Locked
    12.  Java Static Methods
    5m 25s
    In this video, you’ll learn about Static Methods. These are methods that belong to a class rather than an instance of the class. You’ll learn you can access a Static Method without needing to instantiate an object first. Static Methods can be used as part of a class, and static variables can also be used to define them as being part of a class. FREE ACCESS
  • Locked
    13.  Programming Java Static Methods
    6m 44s
    In this video, you’ll watch a demo. In this demonstration, you’re going to learn to use static methods in Java. To get started, you’ll create a class to work in. On the left side of the IDE, in the project pane, you’ll right-click on src, navigate to New>Java Class, and then you’ll create a new Java class called StaticExample.java. You’ll see the class declaration on line 1 with public class StaticExample. FREE ACCESS
  • Locked
    14.  Course Summary
    32s
    In this video, you’ll review what you’ve learned in this course. You’ve learned how to create and use methods to manipulate the data inside a class. You also learned to program with Java methods. You learned programming with Java accessor and mutator methods, working with method overloading in Java, programming with Java interfaces, and using static keyword methods. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 213 users Rating 4.6 of 213 users (213)
Rating 4.7 of 92 users Rating 4.7 of 92 users (92)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 253 users Rating 4.4 of 253 users (253)
Rating 4.8 of 59 users Rating 4.8 of 59 users (59)
Rating 4.7 of 84 users Rating 4.7 of 84 users (84)