Results 1 to 3 of 3
  1. #1
    Alien is offline Member
    Join Date
    Feb 2012
    Location
    Canada, Ontario
    Posts
    7
    Rep Power
    0

    Default public class Hello() {

    Hello. I am new to Java, i recently joined about 1 month ago in programming. I found a interest in it, and i have decided to learn it. Hello.
    PHP Code:
    class Hello() {
    System.out.println("Hello to all");
    }

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Cannot compile public class
    By shobitbeltangdy in forum Advanced Java
    Replies: 5
    Last Post: 09-26-2011, 12:37 AM
  2. Public class problem
    By glitchdetector in forum New To Java
    Replies: 3
    Last Post: 02-22-2011, 11:43 PM
  3. public class error
    By _inase in forum New To Java
    Replies: 2
    Last Post: 01-25-2011, 06:49 AM
  4. different multiple public class and main class
    By mr idiot in forum New To Java
    Replies: 2
    Last Post: 01-01-2009, 01:10 PM
  5. Public class variable
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-03-2007, 10:58 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
  •