各种名词

TTL: Time to Live

gTLD Server: global top level dns server, like .com TLD server or .net TLD server. https://www.dnsknowledge.com/whatis/tld-name-server/

A record: maps domain to a specific IP

CNAME record: maps one name to another name

NX record: maps one name to a specific IP(stand for a dns merchine)

why do we need CNAME Record?

DDoS:

www.a.b.c 和 a.b.c在dns中是不同的

array.length length of array

String.length() number of unicode in the string

javac net/cheng/Add.java//compile net/cheng/Add.java and generate net/cheng/Add.class

javac -d tmp/ net/cheng/Add.java//compile net/cheng/Add.java and generate tm/net/cheng/Add.class, so -d specify the output dir

jar cvf ./tmp/add.jar net/cheng/Add.class

jar cvf apple.jar Test.class audio video //Test.class and two dirs audio and video are archived into alibaba.jar

jar cvf alibaba.jar com//com is the dir contains all classes

jar xvf alibaba.jar

java -cp .:tmp/* com.alibaba.Test//.:tmp/* means the java.class.path includes current dir . and all jar files in tmp/ ; Alternatively you can specify shell variaty: export CLASSPATH=.:tmp/*

Once you understand that classes are always referenced by their fully qualified name in the final bytecode, you must understand how the class code is actually loaded. This happens the first time an object of that class is created, or the first time a static member of the class is accessed. At this time, theClassLoadertries to locate the class and instantiate it. If it can't find the class, aClassNotFoundExceptionis thrown. To locate the class, theClassLoaderusually checks the paths listed in the$CLASSPATHenvironment variable.

All classes of Java SE API are in jre/lib/rt.jar and the extension jars are in jre/ext/lib/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,869评论 18 139
  • 限量版的包包数的清,口红价格也看的明。唯有这个世界,看不完说不清,你怎么能放弃?
    糖馒头阅读 212评论 0 0
  • 我说这里没有你的身影,你却悄悄留下满地相思,你眷恋,我沉醉。 我说你萧瑟凄凉惹人哀,你轻轻一划,溢满了伊,她欢喜,...
    江山不夜阅读 208评论 0 2
  • 寒假有书读 陈培元 寒假,如一位善解人意的女子,如期而至。虽天...
    觅缘人阅读 239评论 0 1