Advertisement
sergAccount

Untitled

Jul 17th, 2021
1,024
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.77 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.Collection;
  9. import java.util.Map;
  10.  
  11. public class Main2 {
  12.     //
  13.     public static void main(String[] args) {        
  14.         String s = null;
  15.         // 1) Collection
  16.         Collection<String> l = null;          
  17.         // Collection<int> li = null;
  18.         // int     Integer
  19.         // double  Double
  20.         // long    Long
  21.         // boolean Boolean
  22.         // char    Character
  23.         Collection<Integer> li = null;
  24.         //
  25.         Map<String, String>  map1;
  26.         Map<Integer, String> map2;
  27.        
  28.     }
  29. }
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement