Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2317
| Received | by 10.224.189.16 with SMTP id dc16mr5803727qab.0.1354535642539; Mon, 03 Dec 2012 03:54:02 -0800 (PST) |
|---|---|
| Received | by 10.182.162.41 with SMTP id xx9mr43579obb.4.1354535642407; Mon, 03 Dec 2012 03:54:02 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!i9no728049qap.0!news-out.google.com!gf5ni46173024qab.0!nntp.google.com!i9no699344qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.help |
| Date | Mon, 3 Dec 2012 03:54:01 -0800 (PST) |
| In-Reply-To | <b1bcd9f8-31a1-49af-b3c4-dc0513e9c569@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=75.182.125.194; posting-account=6U8tWgoAAAADQDXiCHPCGLQJJYLfTkfW |
| NNTP-Posting-Host | 75.182.125.194 |
| References | <b1bcd9f8-31a1-49af-b3c4-dc0513e9c569@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <32edcdd7-b231-4423-be5e-e85ea296210d@googlegroups.com> (permalink) |
| Subject | Re: Need help when using Google Script |
| From | John Dildy <jdildy85@gmail.com> |
| Injection-Date | Mon, 03 Dec 2012 11:54:02 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 2157 |
| Xref | csiph.com comp.lang.java.help:2317 |
Show key headers only | View raw
Is my code correct for Java but just saved incorrectly?
Like I was just wondering if there was anyone that used Google Script so they could help me understand that it was incorrectly.
I understand the Difference between JavaScript and Java.
<!DOCTYPE html>
<html>
<head>
<script>
function displayDate()
{
document.getElementById("demo").innerHTML=Date();
}
</script>
</head>
<body>
<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>
<button type="button" onclick="displayDate()">Display Date</button>
</body>
</html>
That was JavaScript
public class HelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Hello World"); //prints Hello World
System.out.printIn("Hello Again"); //prints Hello Again
}
}
That is Java.
I do get the understatement on the diference.
I am just going to use a proper IDE (eclipse) unless there is a better one to use for .Java program files.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need help when using Google Script John Dildy <jdildy85@gmail.com> - 2012-12-02 14:27 -0800
Re: Need help when using Google Script John Dildy <jdildy85@gmail.com> - 2012-12-02 14:27 -0800
Re: Need help when using Google Script Joerg Meier <joergmmeier@arcor.de> - 2012-12-03 00:16 +0100
Re: Need help when using Google Script John Dildy <jdildy85@gmail.com> - 2012-12-02 15:44 -0800
Re: Need help when using Google Script markspace <-@.> - 2012-12-02 18:00 -0800
Re: Need help when using Google Script John Dildy <jdildy85@gmail.com> - 2012-12-03 02:30 -0800
Re: Need help when using Google Script Joerg Meier <joergmmeier@arcor.de> - 2012-12-03 12:24 +0100
Re: Need help when using Google Script John Dildy <jdildy85@gmail.com> - 2012-12-03 03:54 -0800
Re: Need help when using Google Script markspace <-@.> - 2012-12-03 08:27 -0800
Re: Need help when using Google Script Roedy Green <see_website@mindprod.com.invalid> - 2012-12-03 10:55 -0800
Re: Need help when using Google Script Roedy Green <see_website@mindprod.com.invalid> - 2012-12-03 10:57 -0800
csiph-web