MCPcopy Create free account
hub / github.com/DuGuQiuBai/Java / Tool3

Class Tool3

day16/code/day16_Generic/src/cn/itcast_02/Tool3.java:8–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 * public <��������> �������� ������(�������� .)
7 */
8public class Tool3 {
9 // public void print(String s) {
10 // System.out.println(s);
11 // }
12 //
13 // public void print(Integer i) {
14 // System.out.println(i);
15 // }
16 //
17 // public void print(Boolean b) {
18 // System.out.println(b);
19 // }
20
21 public <BMW> void print(BMW bmw) {
22 System.out.println(bmw);
23 }
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected