-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
590 changed files
with
25,661 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
public class HelloWorld{ | ||
public static void main(String[] args){ | ||
System.out.print("Hello Everyone"); | ||
} | ||
} | ||
|
||
class GoodByeWorld{ | ||
public static void main(String[] args){ | ||
System.out.print("GoodBye"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.qf.bj.class1.basic; | ||
|
||
|
||
public class HelloWorld{ | ||
public static void main(String[] args){ | ||
System.out.print("Hello Everyone"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class Test{ | ||
public static void main(String[] args){ | ||
System.out.print("ÄãºÃ"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class Test2{ | ||
public static void main(String[] args){ | ||
System.out.print("ÔÙ¼û"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public class Test3{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,271 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="zh"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_241) on Thu Mar 19 23:03:00 CST 2020 --> | ||
<title>TestAnnotation</title> | ||
<meta name="date" content="2020-03-19"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"><!-- | ||
try { | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="TestAnnotation"; | ||
} | ||
} | ||
catch(err) { | ||
} | ||
//--> | ||
var methods = {"i0":9}; | ||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],8:["t4","具体方法"]}; | ||
var altColor = "altColor"; | ||
var rowColor = "rowColor"; | ||
var tableTab = "tableTab"; | ||
var activeTableTab = "activeTableTab"; | ||
</script> | ||
<noscript> | ||
<div>您的浏览器已禁用 JavaScript。</div> | ||
</noscript> | ||
<!-- ========= START OF TOP NAVBAR ======= --> | ||
<div class="topNav"><a name="navbar.top"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div> | ||
<a name="navbar.top.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="导航"> | ||
<li><a href="package-summary.html">程序包</a></li> | ||
<li class="navBarCell1Rev">类</li> | ||
<li><a href="package-tree.html">树</a></li> | ||
<li><a href="deprecated-list.html">已过时</a></li> | ||
<li><a href="index-all.html">索引</a></li> | ||
<li><a href="help-doc.html">帮助</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList"> | ||
<li>上一个类</li> | ||
<li>下一个类</li> | ||
</ul> | ||
<ul class="navList"> | ||
<li><a href="index.html?TestAnnotation.html" target="_top">框架</a></li> | ||
<li><a href="TestAnnotation.html" target="_top">无框架</a></li> | ||
</ul> | ||
<ul class="navList" id="allclasses_navbar_top"> | ||
<li><a href="allclasses-noframe.html">所有类</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_top"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
</div> | ||
<div> | ||
<ul class="subNavList"> | ||
<li>概要: </li> | ||
<li>嵌套 | </li> | ||
<li>字段 | </li> | ||
<li><a href="#constructor.summary">构造器</a> | </li> | ||
<li><a href="#method.summary">方法</a></li> | ||
</ul> | ||
<ul class="subNavList"> | ||
<li>详细资料: </li> | ||
<li>字段 | </li> | ||
<li><a href="#constructor.detail">构造器</a> | </li> | ||
<li><a href="#method.detail">方法</a></li> | ||
</ul> | ||
</div> | ||
<a name="skip.navbar.top"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
<!-- ======== START OF CLASS DATA ======== --> | ||
<div class="header"> | ||
<h2 title="类 TestAnnotation" class="title">类 TestAnnotation</h2> | ||
</div> | ||
<div class="contentContainer"> | ||
<ul class="inheritance"> | ||
<li>java.lang.Object</li> | ||
<li> | ||
<ul class="inheritance"> | ||
<li>TestAnnotation</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<div class="description"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<hr> | ||
<br> | ||
<pre>public class <span class="typeNameLabel">TestAnnotation</span> | ||
extends java.lang.Object</pre> | ||
<div class="block">文档注释 | ||
这个类旨在介绍Java中的注释方式有哪些</div> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="summary"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="constructor.summary"> | ||
<!-- --> | ||
</a> | ||
<h3>构造器概要</h3> | ||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释"> | ||
<caption><span>构造器</span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colOne" scope="col">构造器和说明</th> | ||
</tr> | ||
<tr class="altColor"> | ||
<td class="colOne"><code><span class="memberNameLink"><a href="TestAnnotation.html#TestAnnotation--">TestAnnotation</a></span>()</code> </td> | ||
</tr> | ||
</table> | ||
</li> | ||
</ul> | ||
<!-- ========== METHOD SUMMARY =========== --> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="method.summary"> | ||
<!-- --> | ||
</a> | ||
<h3>方法概要</h3> | ||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释"> | ||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">限定符和类型</th> | ||
<th class="colLast" scope="col">方法和说明</th> | ||
</tr> | ||
<tr id="i0" class="altColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="TestAnnotation.html#main-java.lang.String:A-">main</a></span>(java.lang.String[] args)</code> | ||
<div class="block">这个方法代表程序的入口,即为书写逻辑代码的位置</div> | ||
</td> | ||
</tr> | ||
</table> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> | ||
<!-- --> | ||
</a> | ||
<h3>从类继承的方法 java.lang.Object</h3> | ||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="details"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<!-- ========= CONSTRUCTOR DETAIL ======== --> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="constructor.detail"> | ||
<!-- --> | ||
</a> | ||
<h3>构造器详细资料</h3> | ||
<a name="TestAnnotation--"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockListLast"> | ||
<li class="blockList"> | ||
<h4>TestAnnotation</h4> | ||
<pre>public TestAnnotation()</pre> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<!-- ============ METHOD DETAIL ========== --> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="method.detail"> | ||
<!-- --> | ||
</a> | ||
<h3>方法详细资料</h3> | ||
<a name="main-java.lang.String:A-"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockListLast"> | ||
<li class="blockList"> | ||
<h4>main</h4> | ||
<pre>public static void main(java.lang.String[] args)</pre> | ||
<div class="block">这个方法代表程序的入口,即为书写逻辑代码的位置</div> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<!-- ========= END OF CLASS DATA ========= --> | ||
<!-- ======= START OF BOTTOM NAVBAR ====== --> | ||
<div class="bottomNav"><a name="navbar.bottom"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div> | ||
<a name="navbar.bottom.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="导航"> | ||
<li><a href="package-summary.html">程序包</a></li> | ||
<li class="navBarCell1Rev">类</li> | ||
<li><a href="package-tree.html">树</a></li> | ||
<li><a href="deprecated-list.html">已过时</a></li> | ||
<li><a href="index-all.html">索引</a></li> | ||
<li><a href="help-doc.html">帮助</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList"> | ||
<li>上一个类</li> | ||
<li>下一个类</li> | ||
</ul> | ||
<ul class="navList"> | ||
<li><a href="index.html?TestAnnotation.html" target="_top">框架</a></li> | ||
<li><a href="TestAnnotation.html" target="_top">无框架</a></li> | ||
</ul> | ||
<ul class="navList" id="allclasses_navbar_bottom"> | ||
<li><a href="allclasses-noframe.html">所有类</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
</div> | ||
<div> | ||
<ul class="subNavList"> | ||
<li>概要: </li> | ||
<li>嵌套 | </li> | ||
<li>字段 | </li> | ||
<li><a href="#constructor.summary">构造器</a> | </li> | ||
<li><a href="#method.summary">方法</a></li> | ||
</ul> | ||
<ul class="subNavList"> | ||
<li>详细资料: </li> | ||
<li>字段 | </li> | ||
<li><a href="#constructor.detail">构造器</a> | </li> | ||
<li><a href="#method.detail">方法</a></li> | ||
</ul> | ||
</div> | ||
<a name="skip.navbar.bottom"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ======== END OF BOTTOM NAVBAR ======= --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.qf.chapter1.demo; | ||
|
||
/** | ||
文档注释 | ||
这个类旨在介绍Java中的注释方式有哪些 | ||
*/ | ||
public class TestAnnotation{//HelloWorld(帕斯卡) helloWorld(驼峰) HELLO_WORLD GetElementById getElementById GET_ELEMENT_BY_ID | ||
|
||
/** | ||
这个方法代表程序的入口,即为书写逻辑代码的位置 | ||
*/ | ||
public static void main(String[] args){ | ||
|
||
//以下代码代表控制台输出一句文本 | ||
System.out.print("HelloWorld"); | ||
|
||
|
||
/* | ||
多行注释的开始 | ||
..... | ||
..... | ||
..... | ||
多行注释的结束 | ||
*/ | ||
System.out.print("Hello Everyone"); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="zh"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_241) on Thu Mar 19 23:03:00 CST 2020 --> | ||
<title>ËùÓÐÀà</title> | ||
<meta name="date" content="2020-03-19"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<h1 class="bar">ËùÓÐÀà</h1> | ||
<div class="indexContainer"> | ||
<ul> | ||
<li><a href="TestAnnotation.html" title="<Unnamed>ÖеÄÀà" target="classFrame">TestAnnotation</a></li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="zh"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_241) on Thu Mar 19 23:03:00 CST 2020 --> | ||
<title>ËùÓÐÀà</title> | ||
<meta name="date" content="2020-03-19"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<h1 class="bar">ËùÓÐÀà</h1> | ||
<div class="indexContainer"> | ||
<ul> | ||
<li><a href="TestAnnotation.html" title="<Unnamed>ÖеÄÀà">TestAnnotation</a></li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.