Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
what next??
-1 Voto
1 Respostapublic class Vehicle {
int maxSpeed;
int wheels;
String color;
double fuelCapacity;
void horn() {
System.out.println("Beep!");
}
}
class MyClass {
public static void main(String[ ] args) {
Vehicle v1 = new Vehicle();
Vehicle v2 = new Vehicle();
v1.color = "red";
v2.horn();
System.out.println(v1);
}
}
Explain its outcome. I am unable to get the last line of outcome.
-1 Voto
2 RespostasWhat's next on Sololearn?
3 Votos
1 Respostaif i download the programs for c++ on my pc ( codebuilds and the compiler ) and i want to write a program in my package ( workspace ) i create a new file and write smthing beginning
#include <iostream>
using namespace std;
int main ()
{
...
}
and i want to run it, it always runs this first program : Hello World. and not my written program how can i run just my written program ?
have i maybe to write anything else as
int main () {} ?
0 Voto
16 RespostasProgramming language
0 Voto
1 RespostaNewb
2 Votos
3 Respostasproblem with asterisk
1 Voto
1 RespostaQuente hoje
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
view challenge analytics
2 Votes
Coding
1 Votes
header only implementation
1 Votes
Problem with application
0 Votes
how to create a website
0 Votes
Generative AI
0 Votes
Road Runner!!! āš»šš»
1 Votes