Skip to content

Conversation

@Willfreity
Copy link
Contributor

26/04

package org.example
class Restaurant

fun main() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pq tem essa função main aqui?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O nome do arquivo da classe deve começar com Letra maiúscula

@@ -0,0 +1,29 @@

package org.example
class Restaurant
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tem 2 retaurant, a classe restaurant tem outro restaurant

"neighborhood": "centro",
"state": "Minas Gerais"
},
"workingHours": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isso tem que ser uma lista de objetos... e vc já sabe fazer isso, pq vc já fez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants