// public class Main{
//     public static void main(String[] args){
//         System.out.println("hello world");
//     }
// }

// public class Main{
//     public static void main(String[] args){
//         int a = 3;
//         System.out.println(hello(a));
//         System.out.println(a);
//     }

//     public static int hello(int a){
//         a = 7;
//         return a;
//     }
// }

class Book{
    public String title;
    public int price;
    public String company;
    public String author;

    public String getTitle(){
        return title;
    }
}

public class Main{
    public static void main(String[] args){
        Book science = new Book();
        Book english = new Book();
    }
}






















































Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: