As in C++, java as an OOP language supports method overriding
getFullName - get(String a,String b) : Takes two strings and returns them with a space between them
methodOverriding - get(String a,String b) : Takes two strings and returns them with a - between them
getFullName - get(String a,String b) : Takes two strings and returns them with a space between them
methodOverriding - get(String a,String b) : Takes two strings and returns them with a - between them
No comments:
Post a Comment