JAVA Programming :: Basic Concepts
10. A method is declared to take three arguments. A program calls this method and passes only two arguments. What is the result?
Asked In :: Virtusa
24 Apr, 2019 11:40 AM
We will be getting a compile-time error in the form-
required: int, int, int
found: int, int
This means if the requirement is to pass 3 inputs as arguments, then it's must to pass 3 arguments or else the compilation fails.
Please Login First Click Here