Pregunta de entrevista de Samsung Electronics

How one class can use methods from other classes?

Respuestas de entrevistas

Anónimo

5 sept 2018

there are many ways. first make that method public. then create an instance of that class who have the method . And using that instance call the method. By inheritance .

1

Anónimo

17 jul 2017

Concatenation.