Overview/Description
In Java programming, methods have several uses. They make programs more readable and easier to maintain and development and maintenance is quicker. Methods are central to reusable software, they allow separate objects to communicate, and they distribute the work performed by the program. Method overloading allows several methods in a class to have the same name but different arguments, so the method signature is different. In Java, you encapsulate by hiding object fields to make all fields private. Constructors are method-like structures in a class that have the same name as the class. They are frequently used to initialize fields in an object, and can be overloaded. Inheritance results in a class hierarchy of Java technology classes similar to the taxonomies found in biology. This course covers creating and invoking methods, static methods and variables, and method overloading. In addition, this course covers encapsulation and constructors. An overview of inheritance, working with superclasses and subclasses, polymorphism and overriding methods, interfaces, and the Object object are also covered.
Target Audience
Programmers with an understanding of object-oriented programming concepts who want to learn Java; programmers proficient in another object-oriented programming language who want to move to Java.