Discussions Q&R
I need help!
0 Vote
1 RéponseHi my friends
0 Vote
1 Réponsewhat next??
-1 Vote
1 RéponseWhat's next on Sololearn?
3 Votes
1 Réponsepublic 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 Vote
2 Réponsesif 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 Vote
16 RéponsesProgramming language
0 Vote
1 RéponseNewb
2 Votes
3 Réponsesproblem with asterisk
1 Vote
1 RéponseAujourd'hui en vedette
Is there any free coding app?
1 Votes
Not getting Badge issue
1 Votes
Slicing in py
0 Votes
Notes app bug
1 Votes
Cube Roots
1 Votes
Association rule mining
1 Votes
BASIC
0 Votes
how to become a mentor
2 Votes