Java Certified Foundations Associate: Java Methods
Java
| Beginner
- 14 videos | 1h 35m 55s
- Includes Assessment
- Earns a Badge
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 courseDescribe java methods and how they are used in java classesDemonstrate java methods and how they are used in java classesDescribe java accessor methods and how they are used in java classesDemonstrate java accessor methods and how they are used in java classesDescribe java mutator methods and how they are used in java classesDemonstrate java mutator methods and how they are used in java classes
-
Describe method overloading in java and when to use itDemonstrate how to perform method overloading in javaDescribe interfaces and how they are used within java to specify the behavior that a class must implementDemonstrate interfaces and how they are used within javaDescribe the static keyword and how it is applied to methods in javaDescribe the static keyword and how it is applied to methods in javaSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 5sIn 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 47sIn 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
-
5m 56sIn 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
-
8m 50sIn 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
-
6m 55sIn 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
-
5m 6sIn 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
-
8m 41sIn 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
-
9m 56sIn 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
-
6m 50sIn 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
-
7m 4sIn 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
-
9m 5sIn 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
-
5m 25sIn 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
-
6m 44sIn 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
-
32sIn 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.