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
Please recommend me
 0 Votes
Can i code here? Or just learn?
 0 Votes
It's app not running properly?
 1 Votes
Why Lazy?
 1 Votes
Learn tkinter 
 1 Votes
Patterns in Functional Paradigm
 1 Votes









































