Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.mycompany.ex23;
- import java.util.Collection;
- import java.util.Map;
- public class Main2 {
- //
- public static void main(String[] args) {
- String s = null;
- // 1) Collection
- Collection<String> l = null;
- // Collection<int> li = null;
- // int Integer
- // double Double
- // long Long
- // boolean Boolean
- // char Character
- Collection<Integer> li = null;
- //
- Map<String, String> map1;
- Map<Integer, String> map2;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement