GoConqr has a new look! Let us know what you think.

Module 1 of 12 · Text

Posso criar um método dentro do main? Can I create a method inside the main method?

Brenda Gabriela Senra da Silva

Posso criar um método dentro do main?

Can I create a method inside the main method?

In Java, methods cannot be defined inside other methods.

Em Java, método nunca fica dentro de método.
Ele sempre fica direto dentro da classe.

 

 

 

 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?