Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

I need alot of help

Thread view: 
Casteel - 28 May 2004 17:09 GMT
I need to know
How to create a program, declare variables, use input/output statements.
I also need to know how to create if staements for & switch loops ,
switchstaement and to write and call a method
Murray - 28 May 2004 17:52 GMT
> I need to know
> How to create a program, declare variables, use input/output statements.
> I also need to know how to create if staements for & switch loops ,
> switchstaement and to write and call a method

Would you like fries with that?

Go buy a book, or look up one of the many Java tutorials available on the
web (you know how to use google right?). We're not here to spoonfeed you :-P
Murray - 28 May 2004 18:14 GMT
> I need to know
> How to create a program, declare variables, use input/output statements.
> I also need to know how to create if staements for & switch loops ,
> switchstaement and to write and call a method

One of the many Java 101 tutorials out there

http://www.ibiblio.org/javafaq/javatutorial.html
Roedy Green - 28 May 2004 19:32 GMT
>How to create a program, declare variables, use input/output statements.
>I also need to know how to create if staements for & switch loops ,
>switchstaement and to write and call a method

see http://mindprod.com/jgloss/gettingstarted.html

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

kaeli - 28 May 2004 20:21 GMT
In article <1c24189b140b1523e249e2aef38b8ec5
@localhost.talkaboutprogramming.com>, rkcspeed@yahoo.com enlightened us
with...
> I need to know
> How to create a program,

vi myTestClass.java
javac myTestClass.java

> declare variables,

String myString;

> use input/output statements.

System.out.println("Hey!");

> I also need to know how to create if staements

if (x == 3)

> for

for (x=0; x<10; x++)

>  switch loops ,
switch (x)
{
case 1:
  break;
case 2:
  break;
default:
}

> and to write and call a method

public int myMethod(String s)
{
return 1;
}

myClass.myMethod("hello");

HTH
;)

Signature

--
~kaeli~
You feel stuck with your debt if you can't budge it.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Alex Hunsley - 29 May 2004 01:25 GMT
> I need to know
> How to create a program, declare variables, use input/output statements.
> I also need to know how to create if staements for & switch loops ,
> switchstaement and to write and call a method

That's interesting. Do let us know how you get on. The numerous books
and resources on the web will get you off to a good start.

alex
Matthew Johnson - 31 May 2004 01:53 GMT
In article
<1c24189b140b1523e249e2aef38b8ec5@localhost.talkaboutprogramming.com>, Casteel
says...

>I need to know
>How to create a program, declare variables, use input/output statements.
>I also need to know how to create if staements for & switch loops ,
>switchstaement and to write and call a method

The tutorials mentioned so far are good. In fact, anything recommended by Roedy
Green has got to be pretty good! But I have to admit that the last time I read
his "getting started", it seemed a little out of date. Netbeans is a great
environment for getting started these days. Forte is history.

Finally, when you need lots of help and need it in the quickest possible way,
the only way is to follow all the wonderful advice humourously stated in the
following site:

http://catb.org/~esr/faqs/smart-questions.html#translations

It's really quite a time-saver. It's a good resource for saving face too;)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.