Java Design patterns
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package javadevjournal.design.creational.abstractfactory.example2;
|
||||
|
||||
/**
|
||||
* Sony Mobile
|
||||
*/
|
||||
public class Sony implements IMobile {
|
||||
@Override
|
||||
public void brandName() {
|
||||
System.out.println("The brand name is Sony");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user