Android Build a Simple Android App with Java Improving Our Code Creating a New Class

creating a class

add a string field (variable member) named tittle make it public

PictureBook.java
  public class tittle{
    String item;
  }

1 Answer

public class PictureBook { public String mTitle;}