InterviewSolution
Saved Bookmarks
| 1. |
A list is represented as a vector but can contain objects of ___________(a) Same class(b) Different class(c) Similar class(d) Any classThe question was asked in homework.The query is from Overview of R topic in portion History, Overview and Getting Started of R Programming |
|
Answer» CORRECT ANSWER is (B) Different class The BEST I can explain: A LIST can contain objects of different class. But a vector can only contain objects of the same class. A vector cannot have contain objects of the different class. Same class objects are used mostly. |
|