Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------
- package com.bookstore; //under module A
- class Book
- {
- public static int id =1;
- }
- -------------------------------------
- package com.bookstore; // under module B
- class Employee
- {
- Book book = new Book();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement