Advertisement
sergAccount

Untitled

Jul 17th, 2021
888
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package com.mycompany.ex23;
  7.  
  8. import java.util.ArrayList;
  9. import java.util.List;
  10.  
  11. public class Main3 {
  12.     //
  13.     public static void main(String[] args) {
  14.         //
  15.         List<String> list = new ArrayList<>();  // динам масив
  16.        
  17.         List<Person> list2 = new ArrayList<>();  // динам масив
  18.     }
  19.    
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement