Обсуждения
Why is my java code not working?
0 голосов
3 ответовEcma Script Related
0 голосов
5 ответовCan this code open private codes?
0 голосов
1 ответWhat is a parameterized constructor?
0 голосов
1 ответpublic&static
0 голосов
1 ответAbout ideas for Sololearn app
11 голосов
7 ответовPython RSA Keys
0 голосов
18 ответовAccess Modifiers Total Salaries
0 голосов
4 ответовHow can i solve this error?
1 голос
1 ответEncrypting in Python
1 голос
4 ответовAsymmetric Encryption - Python
0 голосов
5 ответовReally SQL is too hard ?
0 голосов
4 ответовpublic 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 голос
2 ответовАктуальное сегодня
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
SQL
2 Votes
JAVA PROGRAMMING
1 Votes