Question

Which of the following can be member of interface? Static field members Static properties Static methods...

Which of the following can be member of interface?

Static field members

Static properties

Static methods

Static constructors

None of the above

Every collection class must implement ____________ interface?

IEnumerator

IEnumerable

IList

IDictionary

Numbers of items which can be added to ArrayList are fixed and decided by its Capacity which cannot bechanged.

True

False

Closely related data can be handled more efficiently in memory when grouped together into a__________

Collection

Database

File

Class

Homework Answers

Answer #1

1) Which of the following can be member of interface?

  • Static field members
  • Static properties
  • Static methods
  • Static constructors
  • None of the above

Ans : Static Constructors

2) Every collection class must implement IDictionary interface?

3) Numbers of items which can be added to ArrayList are fixed and decided by its Capacity which cannot bechanged.

Ans : False

4) Closely related data can be handled more efficiently in memory when grouped together into a__________

  • Collection
  • Database
  • File
  • Class

Ans : Database

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Just give answer no need to exmplain. ___________ implements the IList interface? Stack ArrayList Queue Hashtable...
Just give answer no need to exmplain. ___________ implements the IList interface? Stack ArrayList Queue Hashtable How can we decrease the Capacity of Collection Calling TrimToSize method Calling Clear method Setting Capacity explicitly Option 4 Calling TrimExces Which of the following collections operate based on Key ArrayList Hashtable SortedList Stack Which of the following are true about the ArrayList ArrayList can dynamically grow in size ArrayList are of fixed size ArrayList is used for managing KeyValue pair Protected members of...
just give answer no need to explain. Which of the following are members of IEnumerator Reset...
just give answer no need to explain. Which of the following are members of IEnumerator Reset Read GetEnumerator What is the Order of Execution of Constructor in Child and Parent Classes when the object of Child class is created? First Parent and then Child Child and the Parent Only Child Only Parent What would be the capacity of ArrayList with 1 item added to it. 1 2 4 16 Elements in ArrayList can be accessed using _____________ Only Key Only...
Goal:   Manage the inventory of objects sold in an online or brick and mortar store. If...
Goal:   Manage the inventory of objects sold in an online or brick and mortar store. If you can't implement all of the features of Project described in this document, implement what you can. Start by implementing the StockItem class, and its derived classes. Then add in the InventoryManager class later. In each case, the test files must be in separate classes. UML Diagram: Use Violet or other drawing software to draw the UML diagrams of each class that you use...
JAVA QUIZ Question 1 Which of the following is false about a "super" call in a...
JAVA QUIZ Question 1 Which of the following is false about a "super" call in a sub class's constructor? Select one: a. It must be the first statement in the constructor b. If you don't include it Java will c. If you don't include it you must have a 0 parameter constructor coded in the super class or no constructors coded at all in the super class d. The sub class constructor containing the super call and the called super...
Getting the following errors: Error 1 error C2436: '{ctor}' : member function or nested class in...
Getting the following errors: Error 1 error C2436: '{ctor}' : member function or nested class in constructor initializer list on line 565 Error 2 error C2436: '{ctor}' : member function or nested class in constructor initializer list on line 761 I need this code to COMPILE and RUN, but I cannot get rid of this error. Please Help!! #include #include #include #include using namespace std; enum contactGroupType {// used in extPersonType FAMILY, FRIEND, BUSINESS, UNFILLED }; class addressType { private:...
This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program). Extend...
This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program). Extend the ItemToPurchase class per the following specifications              Private fields string itemDescription - Initialized in default constructor to "none" Parameterized constructor to assign item name, item description, item price, and itemquantity (default values of 0).             Public instance member methods setDescription() mutator & getDescription() accessor (2 pts) printItemCost() - Outputs the item name followed by the quantity, price, and subtotal printItemDescription() - Outputs the...
Do the TODOs in SongFileAccessor.java. It inherits from FileAccessor class. TODO 1: Implement the processLine method....
Do the TODOs in SongFileAccessor.java. It inherits from FileAccessor class. TODO 1: Implement the processLine method. When the text file is processed, each line of text will be passed to processLine . Each line contains 4 fields: title, album, artist, and play time. The album field is optional. Each field is separated by a comma. TODO 2: Implement the songToCSVString method. This method takes a Song object as a parameter and returns a String which is the csv representation of...
Can someone please edit my code so that it satisfies the assignments' requirements? I pasted the...
Can someone please edit my code so that it satisfies the assignments' requirements? I pasted the codes below. Requirement: Goals for This Project:  Using class to model Abstract Data Type  OOP-Data Encapsulation You are asked to write an app to keep track of a relatively small music library. The app should load song information from a data file once the app is started. It should allow user to view, add, remove, and search for songs. The app should...
I've posted this question like 3 times now and I can't seem to find someone that...
I've posted this question like 3 times now and I can't seem to find someone that is able to answer it. Please can someone help me code this? Thank you!! Programming Project #4 – Programmer Jones and the Temple of Gloom Part 1 The stack data structure plays a pivotal role in the design of computer games. Any algorithm that requires the user to retrace their steps is a perfect candidate for using a stack. In this simple game you...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs?...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs? 2. Which strategic choice (differentiation or cost leadership) suits best to Acme? Omega? Do these companies have clear strategic choices or do they stuck in the middle? 3. Based on all the contingencies which type of structure is more suitable for these companies; mechanistic or organic? please answer each question alone The Paradoxical Twins: Acme and Omega Electronics John F. Veiga Part! boom of...