Question: According to [this guide](http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_register_form_rows/) I can add classes to inputs or labels, however I'm unsure how to get it work. The example make me feel like the code below should work, but clearly it's wrong.

```
add_filter( 'wpmem_register_form_rows', 'my_register_form_rows_filter', 10, 2 );

function my_register_form_rows_filter( $rows, $toggle )
{
    zip => array (
        'field_before' => '<div class="div_text new_class">'
         )

return $rows;
}

```

Answer: 
The lack of access modifier indicates [package private](http://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html).

The single `private` modifier applies to the `typeID` field. The single `public` modifier applies to the `setTypeId` method.

Whitespace and indentation is meaningless in Java. (It doesn't matter in C++ either afaik, but in C++ you'd have `private:`, not just `private`.)

Put differently, this

```
public class Type {

    private

    int typeID;
    String name;
    String description;

```

is the same as

```
public class Type {

    private int typeID;
    String name;
    String description;

```

which is the same as

```
public class Type { private int typeID; String name; String description; //...

```
The typId attribute was defined as private, setTypeId was defined as public, and others attributes and methods are as default visible only for members of same package (package private).

In java each instruction end with ';' terminator; 

What is more like what you think is this:

```
 public String name, description;

```

For instruction above the two attributes are affected by 'public' modifier.

:)