📄 00000000.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: afei (飞色精灵), 信区: Java <BR>标 题: Java FAQ <BR>发信站: BBS 水木清华站 (Mon Aug 4 09:08:58 1997) <BR> <BR>From: <A HREF="mailto:elharo@sunsite.unc.edu">elharo@sunsite.unc.edu</A> <BR>Newsgroups: comp.lang.java.programmer,comp.lang.java.softwaretools,comp.lang.java.gui,comp.lang.java.help,alt.www.hotjava <BR>Organization: Cafe Au Lait <BR>Followup-To: poster <BR>Subject: comp.lang.java FAQ <BR> <BR>Archive-name: computer-lang/java-faq/part1 <BR>Posting-Frequency: weekly <BR>Last-modified: 1997/06/15 <BR>Version: 1.4.4 <BR>URL: <A HREF="http://sunsite.unc.edu/javafaq/javafaq.html">http://sunsite.unc.edu/javafaq/javafaq.html</A> <BR> <BR>The comp.lang.java FAQ List <BR> <BR>This is a Java FAQ list for the comp.lang.java newsgroups. If you're reading the text version via <BR>Usenet, I do apologize that parts of it may be less intelligible than possible in HTML. Please refer <BR>to the HTML version at <A HREF="http://sunsite.unc.edu/javafaq/javafaq.html.">http://sunsite.unc.edu/javafaq/javafaq.html.</A> <BR> <BR>The only official mirrors of this site are at the other sunsites. If the URL where you found this file <BR>is not a sunsite, then this is an illegal mirror copy and is likely to be out of date. Please refer to the <BR>official site instead. <BR> <BR>This document is Copyright 1995-1997 by Elliotte Rusty Harold. For information about <BR>reproduction, redistribution and other such rights please see the end of this file. <BR> <BR>What's New <BR> <BR>I fixed a URL for Intermetrics. <BR> <BR>I added question 4.10: How do I load and display formatted HTML in window or TextArea? <BR> <BR>I no longer list inability to communicate with hosts other than the applet host as a problem with <BR>Netscape. <BR> <BR>11.4: When I load the page Netscape gives me a java.lang.ClassFormatError. <BR> <BR>This error may be thrown if Netscape can't find the desired .class file. <BR> <BR>For the most part, this FAQ list covers Java 1.0.2. I have begun the process of converting this list <BR>over to Java 1.1. I am aware of the changes in Java 1.1 and will incorporate them as time permits. <BR>Please don't send me email pointing out errors or omissions that are only relevant to 1.1. I am fully <BR>cognizant of these. <BR> <BR>Table of Contents <BR> <BR> What's New <BR> Table of Contents <BR> 1: What is Java? <BR> 1.1: Where did Java come from? <BR> 1.2: Doesn't the World Wide Web have something to do with this? <BR> 1.3: What platforms does Java run on? <BR> 1.4: Do I need to know C++ to learn Java? <BR> 1.5: Where does Javascript fit in? <BR> 1.6: What's the difference between an application and an applet? <BR> 2: What other Java Resources are available? <BR> 2.1Web Sites <BR> 2.2: Mailing Lists <BR> 2.3: Newsgroups <BR> 2.5: Books <BR> 3: Java for C++ programmers <BR> 3.1: Data Types <BR> 3.2: Control Statements <BR> 3.3: Command Line Arguments <BR> 3.4: Comments <BR> 3.5: Classes <BR> 3.6: How is Java unlike C++? <BR> 4: How Do I... <BR> 4.1: Make a linked list without pointers? <BR> 4.2: How do I scanf, readln, etc. in Java? <BR> 4.3: How do I convert strings to numbers? <BR> 4.4: How Do I Call C Code from Java? <BR> 4.5: How Do I Call Java from C? <BR> 4.6: How do you do multiple inheritance? <BR> 4.7: Can I write objects to and read objects from a file or other stream? <BR> 4.8: How do I call the native API from Java? <BR> 4.9: How do I pass a function pointer to a method? <BR> 4.10: How do I load and display formatted HTML in window or TextArea? <BR> 5: Programming Applets <BR> 5.1: Can applets communicate with each other? <BR> 5.2: Can applets launch programs on the server? <BR> 5.3: Can applets launch programs on the client? <BR> 5.4: Can I record audio from an applet? <BR> 6: Language Issues <BR> 6.1: What does it mean that a class or member is "final"? <BR> 6.2: What does it mean that a method or field is "static"? <BR> 6.3: What does it mean that a method or class is abstract? <BR> 6.4: What's an interface? <BR> 6.5: Why doesn't Java include insert your favorite feature here? <BR> 6.6: Is Java CORBA compliant? <BR> 6.7: Can I cast an int to an Integer? a float to a Float? <BR> 6.8: How do I version a class? <BR> 6.9: Why isn't there operator overloading? <BR> 6.10: Does Java have pointers? <BR> 6.11: Does Java pass method arguments by value or by reference? <BR> 6.12: Are there parameterized types (templates)? <BR> 6.13: How does garbage collection work? <BR> 6.14: PERFORM and BECOME <BR> 7: java.awt <BR> 7.1: What Does AWT Stand For? <BR> 7.2: What are peer "classes"? <BR> 7.3: Can you explain how events are passed? <BR> 7.4: Clipping <BR> 7.5: How do I change the thickness of the line? <BR> 7.6: What fonts does Java support? <BR> 8: java.io <BR> 8.1:How do I read data from a file? <BR> 8.2: How do I write data to a file? <BR> 8.3: How do I append data to a file? <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -