|
-
JAva help
can any one help I am trying to create a JAVA comments useing the same statement three times to demonstrate each of the three methods of commenting in java
this is what i have done so far
//Demonstrating comments
// Written by <>
// Written on <>
public class Hello
{
/*Program comments are nonexecuting statements your
add to a program for the purpose of documentation */
System.out.print1n("Hello");//Program comments are nonexecuting statements your
// add to a program for the purpose of documentation
/**Program comments are nonexecuting statements your
add to a program for the purpose of documentation. */
{
public static void main(string[] args)
{
system.out.print1n("Hello,world");
}
}
Similar Threads
-
Replies: 2
Last Post: 06-14-2006, 03:16 PM
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Mike Tsakiris in forum .NET
Replies: 11
Last Post: 10-04-2002, 05:32 PM
-
By JJ in forum Enterprise
Replies: 1
Last Post: 07-06-2000, 04:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks