Java SE7 Fundamentals: Overloading, Validation, and Object-Oriented Concepts
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.
Please contact us for information about prerequisites.
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.
Methods, Overloading, and Encapsulation in Java
- create and invoke methods
- use method overloading
- use encapsulation in Java
- create constructors in Java
- create and call methods with arguments and return values
- implement encapsulation
- use constructors to initialize objects
Advanced Object-Oriented Concepts in Java
- create and use superclasses and subclasses
- use polymorphism and override methods
- use Java interfaces