Science, Tech, Math › Computer Science Implicit Parameters in Java Share Flipboard Email Print Dominik Pabis / Getty Images Computer Science Java Programming PHP Programming Perl Python Javascript Programming Delphi Programming C & C++ Programming Ruby Programming Visual Basic View More By Paul Leahy Paul Leahy Computer Science Expert M.A., Advanced Information Systems, University of Glasgow Paul Leahy is a computer programmer with over a decade of experience working in the IT industry, as both an in-house and vendor-based developer. Learn about our Editorial Process Updated on July 07, 2019 The implicit parameter in Java is the object that the method belongs to. It's passed by specifying the reference or variable of the object before the name of the method. An implicit parameter is opposite to an explicit parameter, which is passed when specifying the parameter in the parenthesis of a method call. If a parameter isn't explicitly defined, the parameter is considered implicit. Explicit Method Example When your program calls a method of an object, it's common to pass a value to the method. For example, here, the object Employee has a method called setJobTitle: Employee dave = new Employee(); dave.setJobTitle("Candlestick Maker"); The String "Candlestick Maker" is an explicit parameter being passed to the setJobTitle method. Implicit Method Example However, there is another parameter in the method call that is known as the implicit parameter. The implicit parameter is the object the method belongs to. In the above example, it's dave, the object of type Employee. Implicit parameters are not defined within a method declaration because they are implied by the class the method is in: public class Employee { public void setJobTitle(String jobTitle) { this.jobTitle = jobTitle; } } In order to call the setJobTitle method, there must be an object of type Employee. Cite this Article Format mla apa chicago Your Citation Leahy, Paul. "Implicit Parameters in Java." ThoughtCo, Sep. 16, 2020, thoughtco.com/implicit-parameter-2034139. Leahy, Paul. (2020, September 16). Implicit Parameters in Java. Retrieved from https://www.thoughtco.com/implicit-parameter-2034139 Leahy, Paul. "Implicit Parameters in Java." ThoughtCo. https://www.thoughtco.com/implicit-parameter-2034139 (accessed March 21, 2023). copy citation Featured Video