Which of the following is a valid declaration of an object of class Box?
a) Box obj = new Box();b) Box obj = new Box;
c) obj = new Box();
d) new Box obj;
Answer: Option (A)
Read More
Which of the following is a valid declaration of an object of class Box?
a) Box obj = new Box();Our website uses cookies to improve your experience. Learn more
Ok