package com.twu.biblioteca;

import java.util.ArrayList;
import java.util.List;

public class BibliotecaApp {
    List<String> books;

    public BibliotecaApp() {
        books = new ArrayList<>();
        books.add("Harry Potter and The Sorcer\'s Stone");
        books.add("Harry Potter and The Chamber of Secrets");
    }

    public static void main(String[] args) {

    }

    public void welcomeMessage() {
        System.out.println("Welcome to Biblioteca");
    }

    public void displayBooks() {
        for(String book : books) {
            System.out.println(book);
        }
    }
}
@@ -488,16 +488,9 @@
 oid 
-displayB
+b
 ooks
@@ -509,28 +509,42 @@
  for
-(String book : books
+ (int i = 0; i %3C books.size(); i++
 ) %7B%0A
@@ -574,20 +574,43 @@
 println(
-book
+i + 1 + %22. %22 + books.get(i)
 );%0A     

Refactor - rename displayBooks to books in BibliotecaApp