Q&A Discussions
Ecma Script Related
0 Votes
5 Answerspublic&static
0 Votes
1 AnswerAbout ideas for Sololearn app
11 Votes
7 AnswersPython RSA Keys
0 Votes
18 AnswersEncrypting in Python
1 Vote
4 AnswersReally SQL is too hard ?
0 Votes
4 Answerspublic 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 AnswersHot today
Time up code for data revision
0 Votes
Web vs python
1 Votes
Best Python Calculator Code
1 Votes
I want to learn why this error occurs in "while loop" function of Pythone.Can someone explain to me?
1 Votes
Animation
2 Votes
While or for loop
0 Votes
how to import in pygame
0 Votes