Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8
次のページ(過去)
返信[1]
親投稿
Andres TanookiOcarina
In the last lesson, you learned how to write a Hello World program, and you also learned some cool things that made it work. Now, we will learn about the various data types available in Java. A data type is just the type of data that can be stored in a variable, as we will see in just a moment. There are nine data types which we will go over.
0そうだね
未プレイ
トピック
Andres TanookiOcarina

Java tutorial #2.

In this tutorial, I will cover data types and variables in Java.
4そうだね
未プレイ
返信[3]
親投稿
Andres TanookiOcarina
I don't think Five Nights at Freddy's isn't made with this yet, but hopefully someone will.
0そうだね
未プレイ
返信[7]
親投稿
Andres TanookiOcarina
Because I have coding experience in both languages.
0そうだね
未プレイ
返信[5]
親投稿
Andres TanookiOcarina
Just because Hello World is the same in both languages doesn't mean both languages are the same. There are a lot, and I mean A LOT of differences between the two.
0そうだね
未プレイ
返信[2]
親投稿
Andres TanookiOcarina
"Houston, we have a problem."
2そうだね
未プレイ
返信[4]
親投稿
Andres TanookiOcarina
Oh, no. This application does not harm your 3DS. If an app someone makes is broken, then just quit, come back, and it's good as new. No, SmileBASIC won't harm your 3DS in any way.
0そうだね
未プレイ
返信[2]
親投稿
Andres TanookiOcarina
Yes, tell me. I have limited knowledge of SmileBASIC, but hopefully I would be sure to know.
0そうだね
未プレイ
返信[1]
親投稿
Andres TanookiOcarina
This is a tool to make your own games and applications using the SmileBASIC programming language. It's fun, and I recommend you get it.
4そうだね
未プレイ
返信[4]
親投稿
Andres TanookiOcarina
Just letting you know, there's a second platform underneath the top platform. Imo, I think the UI for this game should simply be a play button to start the game.
2そうだね
未プレイ
返信[3]
親投稿
Andres TanookiOcarina
That was the starting screen of Petit Computer!
2そうだね
未プレイ
トピック
Andres TanookiOcarina

Java tutorial #2 will come before this week ends!

I'll be covering data types and variables.
0そうだね
未プレイ
返信[21]
親投稿
Andres TanookiOcarina
You can use only one System.out.println to print out one message, but that message can be typed up on different lines! Like this: System.out.println("This string " + "can be combined " + "with other strings " + "using addition?!"); And the output would be this: This string can be combined with other strings using addition?!
1そうだね
未プレイ
返信[18]
親投稿
Andres TanookiOcarina
I don't think that concerns Java, sorry.
3そうだね
未プレイ
返信[3]
親投稿
Andres TanookiOcarina
Nah, there's just no other way of saying it.
5そうだね
未プレイ
返信[1]
親投稿
Andres TanookiOcarina
This is nothing more than a simple programming language, whose syntax highly emulates that of an interpreted language.
3そうだね
未プレイ
返信[16]
親投稿
Andres TanookiOcarina
Here's the final program: public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello world!!!!!"); } } Once you have finished writing the program, click that green play button near the top of the screen. And voila! Your message will be printed to the console below! This concludes Java tutorial #1. Feel free to discuss what you have learned here!
1そうだね
未プレイ
返信[15]
親投稿
Andres TanookiOcarina
Anything between a pair of double-quotation marks is called a string, a data type we will go over later. You'll also be wondering what that semicolon is doing at the end of that line. Semicolons are used to "terminate" single-line statements, just as a period terminates an English sentence at the end.
1そうだね
未プレイ
返信[14]
親投稿
Andres TanookiOcarina
Under the line where we defined main, type this one-lined wonder in: System.out.println("Hello world!!!!!"); The System.out.println command is used to "print" things to a console. No, the message "Hello World!!!!!" will not come out of your printer. Within the parenthesis you must type in the message between double quotation marks.
1そうだね
未プレイ
返信[13]
親投稿
Andres TanookiOcarina
After the closing parenthesis, place another opening brace. Your program should look like this now: public class HelloWorld { public static void main(String[] args){ } } We have created another pair of braces! So we can write our program inside our main method, which is inside our HelloWorld class. We're going to do the fun part now!
1そうだね
未プレイ