Java Programming with Java SE 6.0: Creating Classes in Java


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To enable the learner to create and work with Java classes and objects

Target Audience
Programmers with an understanding of procedural programming concepts who want to learn Java and object-oriented programming; programmers proficient in another object-oriented programming language who want to move to Java; programmers experienced in the Java language who want to make the upgrade to Java SE 6.

Prerequisites
Knowledge of programming principles and experience in procedural programming or scripting languages, such as Visual Basic, C, or JavaScript; understanding of object-oriented languages, such as C++ or C#, is an advantage.

Expected Duration (hours)
2.9

Lesson Objectives

Java Programming with Java SE 6.0: Creating Classes in Java

  • identify how encapsulation affects a Java class, and pass messages between objects.
  • identify the code required to declare a specific class and a constructor for a class.
  • identify the code required to declare a method and implement a variable argument list in a method for a given scenario, and declare a variable in a class based on that variable's scope.
  • write an appropriate class and method declaration, and pass variable arguments to a method.
  • create an object, call an object's method, and assign the result of the method to an existing variable for a given scenario.
  • create, iterate over, and switch on type safe enums in Java SE 6.0.
  • create a Java enumeration and object, iterate over the enumeration's values, and call one of the object's methods.
  • create a package in a given scenario, and import classes, static methods, and variables into a source file.
  • identify the appropriate level of access to apply to classes, variables, methods, and constructors for a given scenario.
  • create and import a specific Java package, import static methods and variables into a source file, and identify the access levels of the class members in that package.
  • Course Number:
    252346_eng