Discussions Q&R
Ecma Script Related
0 Vote
5 Réponsespublic&static
0 Vote
1 RéponseAbout ideas for Sololearn app
11 Votes
7 RéponsesPython RSA Keys
0 Vote
18 RéponsesEncrypting in Python
1 Vote
4 Réponsespublic 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éponsesAujourd'hui en vedette
debate which is better
6 Votes
Debugging issue?
0 Votes
Text editor
0 Votes
how to view only application
0 Votes
Arduino
2 Votes
If very confusing
0 Votes
Scraping
0 Votes
I’m really confused
0 Votes