Q. What is the correct way to declare an object of a class named Car?

कार नामक वर्ग की वस्तु घोषित करने का सही तरीका क्या है?

A
Car obj = new Car();
B
obj = Car();
C
Car = new obj();
D
new Car obj;

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment