Hello Eddie and welcome to the forums!
Wishes Ada x
Type: Posts; User: Ada Lovelace
Hello Eddie and welcome to the forums!
Wishes Ada x
For me personally I learnt from home using a book (Deitel Java How to Program 4th Edition) then joined an online course. It all depends on your experience and knowledge of the language. One other...
Also get used to a particular framework. If you have eyes on GUI after basic console terminology then look at JavaFX or maybe even Swing.
Wishes Ada x
Welcome to the forum :)
Wishes Ada xx
Depending on if you are using basic console I/O with the Scanner class,
you can ignore the warning. Like Cornix suggested, it regards mainly file
streams, that a file object must be closed when...
Welcome to the forum :)
Break the problem down into subsets.
# create a main method
# read the requested input from the keyboard
# manually work out on pen and paper what the date would be
#...
Are you getting any errors? If so post them or explain what about
the array logic you are struggling with. Btw: class names should start with
an upper case character.
Wishes Ada xx
Post any code you have so far and explain where in the code you need the help.
People will be able to help you easier if they have something visual to look at :).
Wishes Ada xx
Hello and welcome to the forum :)
Wishes Ada xx
Hi! Welcome to the forum :)
Wishes Ada xx
Do not put yourself down like that - the fact that you can write code in any form
means you can program, and you are understanding the basic features of the
language. Everyone has to start...
Welcome to the forum :)
Java has two standard methods for formatting output in the manor you want.
printf() and format()
You can set how far to the right of the decimal you want the figure...
Looks like a GUI base or part of one for Windows.
How much Java do you know?
Wishes Ada xx
Hi there and welcome to the forum :)
Wishes Ada xx
Welcome :)
If you want to post any Java code - you need to encase the code in "code tags". Do not post
URL links to the code.
code tags consist of a opening tag and a closing tag. There are...
Hi Welcome to the forum. :)
Like your comment about the old days ;) I first learned BASIC on
Acorn Computers in the late 1980's. I do remember the "Green Screen"
computing age - nowadays that...
Depends on the individual. Everyone has their own personal preference. Some popular ones are:
* Head First Java
* Java How to Program (Deitel)
* Art and Science of Java (uses ACM package...
Try setting break points in the code - at places you think the execution is following
a different path. Check the values of any variables when the execution stops, then step
into the code, note...
When you say left-justified are you talking about the text printing up against the left
margin of the screen? I compiled your sample code and that is where my output was.
If it is appearing like...
What you might want to do is create a variable that will hold the largest
random value, iterate through the loop and fill that value (remember to test
each time if the new random value is larger...
Hello! Welcome to the forum :)
Wishes Ada xx
Interesting topic - and thank you everyone for their insights. Can I apologise for
my mistake in my previous answer, I think I got class-type and primitive's a bit
muddled :)
On this note - to...
Hello and welcome to the forum! :)
Wishes Ada xx
Hello and welcome to the forum :)
Wishes Ada xx
Because double is a primitive type - and is assigned null by default.
Therefore - when you attempt to use the variable in the assignment statement,
the compiler does not know what pi was...