Tag: technology
Questions Related to technology
Which code from the given options if put in Main class will not print “Done”?
Which of the given options code is correct and will not waste memory. Note :- Defination of the Class Item is class Item { public int code; public String name; public Item(String name) { this.name = name; } } itemList is ArrayList containing 50 objects of Class Items.
Which is simplest and correct code snippet needs to be put in the main function to replace the value object of the HashMap for the key “orange”?
Which is the most performance efficient implementation for assignCode method from the given options?