Samsung Electronics interview question

How one class can use methods from other classes?

Interview Answers

Anonymous

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

Anonymous

17 Jul 2017

Concatenation.