java vector push_back April 12, 2023 by wordlinkanswers Home - Q & A - java vector push_back java vector push_back Comment 1 // push_back equivalent<br /> ArrayList<int> a = new ArrayList<int>();<br /> a.add(2); // Add element to the ArrayList.<br /> a.add(4);</p> <p>// pop_back equivalent.<br /> a.remove(a.size()-1); // Remove the last element from the ArrayList. Popularity 9/10 Helpfulness 4/10 Language java Source: stackoverflow.com Tags: java vector Share Link to this answer Share Contributed on Feb 22 2020 Victorious Vendace 0 Answers Avg Quality 2/10 wordlinkanswers