Learning Programming

A Member? Please Login  
type your username and password to login
Date: October 11, 2008, 07:41 AM
248625 members and 147179 Topics
Latest Member: borillo65
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Learning Programming
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Learning Programming  (Read 782 views)
odoma (m)
Learning Programming
« on: August 28, 2007, 05:01 AM »

Please is there an easy and fast way of learning JAVA?
azpunpin
Re: Learning Programming
« #1 on: September 05, 2007, 02:39 AM »

There is no fast way than to read,learn and practise hard.



Love Ya.
davidt (m)
Re: Learning Programming
« #2 on: September 08, 2007, 09:35 AM »

If you are planning to learn JAVA as your first language, I don't recommend that. I recommend that you learn a simple (but yet powerful language) such as Python and then go ahead to learn JAVA after you are familiar with Python. This will help you learn the basic programming concepts including objected-oriented concepts before delving into the world of JAVA. You might just be surprised what you can do with Python anyway.
Smart K. (m)
Re: Learning Programming
« #3 on: September 10, 2007, 05:53 PM »

Quote
Please is there an easy and fast way of learning JAVA?

Come easy, go easy
yemaren
Re: Learning Programming
« #4 on: September 11, 2007, 03:36 PM »

Of course, there are easy way to learn Java
1. read and to a lot of practice
2. apply in an IT school to speed up your time
Which one is preferable to you
gacheezo (m)
Re: Learning Programming
« #5 on: September 12, 2007, 10:49 AM »

there is really no big deal about java just learn the basic synthax and familiarise yourself with the documentation
end of class
java 101
AhmedGuru (m)
Re: Learning Programming
« #6 on: September 18, 2007, 09:10 AM »

The easiet way is just to find a good Java book and do a lot practices. u also need to visit Javadoc very often. That's all. Depending on how consistent u are, in d next couple of months, u coul be seen as a Java guru too.
Kobojunkie
Re: Learning Programming
« #7 on: September 25, 2007, 11:51 PM »

Look for free Java Tutorial videos . I love watching tutorials on video and would even like to get into creating some of those  myself


Kobojunkie
soulonfire (f)
Re: Learning Programming
« #8 on: October 02, 2007, 10:21 AM »

In my experience, theres no izy way to learn proggramming, u eida get it or lv it!! u practice and relate with folks wu r beta than u, and b humble enof to b corrected.

I'm also a newbie, thoh not new to the basics of prgmin, but i wan2 start java, but i nid help from folks.  I have a little chalenge - how do i pik the users input from application window, without initializin the variable.

The idea is to determine if a figure entered is even or odd, not using an applet. A user is suposed to simply enter the figure and then the result should be "ODD numer" or  "EVEN number" depending on wot number is enterd.

I gotn stuk at this point:



import java.*;

import java.lang.*; // I did not import the packages at 1st trial but still had an error afta i hd imported

public class EvenOrOdd

{
    public static void main (String[] args)
    {
       String a = getString( a );
       int i = Integer.parseInt(a);



        if ( (  i % 2 ) == 0 )
       {
           System.out.println(  "EVEN!");
       }

       else
       {
         System.out.println("ODD!!" );
       }


    }
}


sorry tis a java snipete

thanq for ur help
Bossman (m)
Re: Learning Programming
« #9 on: October 02, 2007, 06:09 PM »

You have to provide a means for the user to enter it. that's either via the console or via a GUI. It's probably the console in your case.  You can get the user's input via the main method's 'arg' argument. This happens to be an array.  You can also retrieve the user's input via input/output, but you are probably not at that point yet.

So, if the user executes your program with java  EvenOrOdd 2, 5 args[0] would be 2, and args[1] would be 5.  So,

String a = args[0]
String b = args[1]

These will be strings so you have to parse the values as you did above.

int a = Integer.parseInt(a);
int b = Integer.parseInt(b);

Hope that helps a little.

Good luck!
khai_khai (m)
Re: Learning Programming
« #10 on: October 03, 2007, 06:28 AM »

If you want the user to type an input via the command line,
 
you have to use input stream reader

the link below has the necessary info,

ask, if u do not understand it

http://www.scit.wlv.ac.uk/~jphb/java/basicio.html
soulonfire (f)
Re: Learning Programming
« #11 on: October 05, 2007, 12:17 AM »

Thank you real good. apreciate the swift response. I'll  try both advice and let u know the outcome.

Thank u again.
jabonabule (m)
Re: Learning Programming
« #12 on: October 09, 2007, 06:59 AM »

I need help on my final year project. I'm working on spin software.
How do I get materials.
Please nairalanders, help me
Kobojunkie
Re: Learning Programming
« #13 on: October 09, 2007, 01:06 PM »

Maybe you could start by EXPLAINING TO US what SPIN software is ,  What exactly your project is and where you are stuck? People, we do not all READ MINDS in here. you have to learn to explain your thoughts more in posts so people can actually know where to start when helping you.
A khan (m)
Re: Learning Programming
« #14 on: October 10, 2007, 11:26 AM »

kobojunkie,

honestly i agree with you because it will give many a chance to know about the spin software.
 Nigerian Java Group : Jand  Java On Ubuntu Linux  Tell Us Your Hardest & Easiest Programming Languages  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.