The methods in a class should always be made public so that those outside the class can use them

The methods in a class should always be made public so that those outside the class can use them


Answer: False. Methods that need to be available for use outside a class should be made public, but methods that will only be used inside the class should be made private.


Java

Learn More Multiple Choice Question :