|
odoma (m)
|
Please is there an easy and fast way of learning JAVA?
|
|
|
|
|
|
azpunpin
|
There is no fast way than to read,learn and practise hard.
Love Ya.
|
|
|
|
|
|
davidt (m)
|
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)
|
Please is there an easy and fast way of learning JAVA? Come easy, go easy
|
|
|
|
|
|
yemaren
|
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)
|
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)
|
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
|
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)
|
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)
|
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!
|
|
|
|
|
|
|
|
soulonfire (f)
|
Thank you real good. apreciate the swift response. I'll try both advice and let u know the outcome.
Thank u again.
|
|
|
|
|
|
jabonabule (m)
|
I need help on my final year project. I'm working on spin software. How do I get materials. Please nairalanders, help me
|
|
|
|
|
|
Kobojunkie
|
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)
|
kobojunkie,
honestly i agree with you because it will give many a chance to know about the spin software.
|
|
|
|
|
|