Consider the following code:

import java.util.*;
class MyDataStore {
    public static void main(String [] args) {
        // Put the code
        structure.put("a", 420);
Which from the mentioned options can be inserted into the line 4 (independently) for class to successfully compile and run?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Sign Up Now
or Subscribe for future quizzes