Created
February 14, 2019 08:19
-
-
Save athiththan11/693890ed126edbad62c9cbe3af96c0a4 to your computer and use it in GitHub Desktop.
`static` keyword usage on methods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User { | |
List<String< convertedValue = Utility.convertStringToSomething("an input string here"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Utility { | |
public static List<String> convertStringToSomething (String input) { | |
// body implementation to convert a String value to a List of String | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment