Dyskusje Q&A
Ecma Script Related
 0 głosów
 5 odpowiedzipublic&static 
 0 głosów
 1 OdpowiedźAbout ideas for Sololearn app
 11 głosów
 7 odpowiedziPython RSA Keys
 0 głosów
 18 odpowiedziEncrypting in Python
 1 Głos
 4 odpowiedziReally SQL is too hard ?
 0 głosów
 4 odpowiedzipublic 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 Głos
 2 odpowiedziPopularne dzisiaj
How create a new language ?
 1 Votes
Beginner question
 0 Votes
I need help to solve this
 0 Votes
How To Enable Disable Divs?
 0 Votes
Project
 0 Votes