Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Aditi Msc   on Mar 28 In Java Category.

  
Question Answered By: Bradley Evans   on Mar 28

try this:

import java.io.*;
class hello{
public static  void main(string args[]){
System.out.println("hello java");
}
}

u r supposed to open and close braces for main method..and u r using " , " for
concatation .u shud use "+" operator for joining multiple strings... this works
fine... im also new to java.. just learning java...

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on java. aim using jdk1.4 on win2k Or get search suggestion and latest updates.


Tagged: