package com.yjf.esupplier.common.test;/*** @author shusheng* @description* @Email shusheng@yiji.com* @date 2018/12/13 14:46*/
public class ObjectToolDemoThree {/*** 泛型方法&#xff1a;* 把泛型定义在方法上* 格式:public <泛型类型> 返回类型 方法名(泛型类型 .)* 方法中的参数可以接收任意类型的参数&#xff0c;且与类的类型无关*/public static void main(String[] args) {ObjectToolThree ott &#61; new ObjectToolThree();ott.show("风清扬");ott.show(27);ott.show(true);}}class ObjectToolThree {public