Advertisement
milardovich

Catalog problem - Java

Aug 28th, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1.  
  2. public class catalogoLibros {
  3.     public Libro libros[] = new Libro[20];
  4.    
  5.     public catalogoLibros(){
  6.         libros[0] = new Libro(false, 1, "JavaScript & jQuery: Interactive Front-End Web Development", "Jon Duckett", null);
  7.         libros[1] = new Libro(false, 2, "Agile Web Development with Rails 4", "Dave Thomas", null);
  8.         libros[2] = new Libro(false, 3, "The Definitive Guide to Django", "Adrian Holovaty", null);
  9.         libros[3] = new Libro(false, 4, "Practical Node.js", "Azat Mardan", null);
  10.         libros[4] = new Libro(false, 5, "MongoDB: The Definitive Guide", "Kristina Chodorow", null);
  11.         libros[5] = new Libro(false, 6, "Pro AngularJS", "Adam Freeman", null);
  12.         libros[6] = new Libro(false, 7, "AngularJS", "Brad Green", null);
  13.         libros[7] = new Libro(false, 8, "Developing Backbone.js Applications", "Addy Osmani", null);       
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement