原文链接地址:
Lesson: Object-Oriented Programming Concepts
What Is a Class?
原文:
What Is a Class?
A class is a blueprint or prototype from which objects are created. This section defines a cl...
代码:package com.company;public class Main { public static void main(String[] args) throws Exception { Class a= Test.class; Class b=new Test().getClass(); Class c=Class.forNam...
Created by Wang, Jerry on Aug 02, 2016注意这里的softReferencepublic class FloatTest { public static String A = "JerryTest"; FloatTest tool = new FloatTest(); System.out.println(tool.A); Object...
Created by Wang, Jerry on Aug 02, 2016
注意这里的softReference
public class FloatTest {
public static String A = "JerryTest";
FloatTest tool = new FloatTest();
System.out.println(tool....