0
I do not know what is the subject of this part of Java, but I did not understand it:
Carro carro;
I know that when declaring the variable we do:
String carro;
Why is there such a thing Carro
? and the guys are int
, boolean
, string
, float
, double
?
Could someone explain something to me please?
I created a Car class, and tried instaciala using Car; as you said and it didn’t work.
– Deny Programador PHP
Test test; test = new Test(); got it
– Deny Programador PHP