Created
February 23, 2012 10:40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.model; | |
import br.com.devices.*; | |
class Computer { | |
public static void main( String[] args ) { | |
Printer printer = new Printer(); | |
printer.printAll(); | |
} | |
} | |
package br.com.devices; | |
public class Printer { | |
private void printAll() { | |
System.out.println("Printing All"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment