in my basic computer class. word etc, some kid was talking smack to the teacher, and said he knew Java so now as punishment she is making him teach us, is it hard to learn? hard to pick up?
This topic is locked from further discussion.
in my basic computer class. word etc, some kid was talking smack to the teacher, and said he knew Java so now as punishment she is making him teach us, is it hard to learn? hard to pick up?
No. It might take some time to get into though if it's your first programming language.Xeros606ya very first
o man it stopped making directoriesxfactor19990
o man it stopped making directoriesxfactor19990thats bad right?
Not really, but programming isn't for everyone, java is pretty simple remember to open and close off all code, remember your statements and loops, and make sure you have simple and on topic variables. Here's the common example given to all first comes of any language
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
I don't remember anything here so don't hate but I can explain a little, this program displays the words hello world to the user when it's run, System.out.println means to print whatever is in the brackets, now if you want to print hello world you must include the " " or else the program will try to print a variable named hello world instead of printing the words *hello world*. A variable is basically a named assigned to an object that has no set value.
in my basic computer class. word etc, some kid was talking smack to the teacher, and said he knew Java so now as punishment she is making him teach us, is it hard to learn? hard to pick up?
xfactor19990
I don't know Java, but I do know C/C++, and I think that was pretty easy to learn. I'm guessing Java would be easier. If you want to get back at the kid for doing this to you, you could go online and learn some assembly and do the same thing he did.
This is what she told me to do by tomorrow lol im freaking out Assignment 1: Your first java program Write a java program that prints out the following greeting message. Hello, Java. My Name is insert your name here. I love the song "Forever" // by Chris Brown I hope to earn $100000.0 per year A blank line here Ohh well this might/nbe a trick though Requirement: 1. Pick a meaningful name for your class. 2. Your program must compiles and print the above message as requested to receive credit. 3. Your program must contain documentation/comment and have proper indentation to receive full credit.xfactor19990
Something like this:
public class HelloWorld
{
public static void main(String[] arg)
{
System.out.println("Hello, Java. My name is Daniel");
System.out.println("I love the song "Forever" by Chris Brown");
System.out.println("I hope to earn $100000.0 per year.");
System.out.println();
...etc etc.
}
}
Chances are you won't go into algorithms, so you'll be fine. Java is simple and straightforward.
Please Log In to post.
Log in to comment