Which of these code snippets isn't a part of the abstract factory implementation?
1)
interface is
method createDevice(): Device
method createModDevice(): ModDevice
2)
method getInstance() is
if (instance == null) then
instance = new Object()
return instance
3)
interface Device is
method create()
class Laptop implements Device is...
class Phone implements Device is...