{
public static void main (string args [ ])
{
system.out.println ("I am a Beginners");
}
}
hi guys what i wrote in above is it correct? ...am just starting programming and please help me out...
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
{
public static void main (string args [ ])
{
system.out.println ("I am a Beginners");
}
}
hi guys what i wrote in above is it correct? ...am just starting programming and please help me out...
You tell us...does it compile? Does it work properly? Suggested reading:hi guys what i wrote in above is it correct?
http://www.javaprogrammingforums.com...-get-help.html
If you don't have PC then how are you posting ? just curious
You should invest in a pc
To gain the better understanding of concepts, you must implement what you read. By the why, you can still predict if the given code will compile and run successfully or not, and that is only possible if you have enough knowledge of development.
In this case, you program will never compile. There are many errors (Syntax errors). So, it's recommended to invest to buy a computer for your experience of development. Good Luck
funny thing is only after getting my phone am interested in coding an app for my phone ....damn money!!!
See the following link: Lesson: A Closer Look at the "Hello World!" Application (The Java™ Tutorials > Getting Started)\
And if you want to learn to program, as the others have said - you need to invest in a computer.
Dear......
What Others have said is true.......unless you implement the code.......you wont be able to understand how it works or why it works the way it works......
Anyway.....answer to your question is this......
-------------------------------------------------------------------------
public static void main (string args [ ]){
system.out.println ("I am a Beginner");
}
---------------------------------------------------------------------------------------
I think that two parenthesis were out of order other than that one spealing mistake........
and everything else is correct......
------------------------------------------------
Go pursue Java and do it on a computer.
Regards,
Ashishkumar.
@ashish: You know your program has many syntax errors?
Use code tags and proper formatting.
Mr. 777 is correct.
It should be more along the lines of:
public class whateverYouWantToCallThis
{
tabpublic static void main(String args[])
tab{
tabtabSystem.out.println("I am a beginner.");
tab}
}
...Although I'm also a beginner, so I may be wrong. Anyway, you were mostly right! Just make sure to pay attention to your cases since java is a case-sensitive language. Good luck with the learning, dude.
Last edited by moonchild; November 15th, 2011 at 12:53 PM.