| Singleton object in Scala can be made executable ___________
Choose the correct options from below list
(1)by extending App
(2)by defining a class
(3)with the main function
(4)by extending App or with the main function
Answer:-(4)by extending App or with the main function | | |