Java programming speed script for beginner no using books and money

Java Beginning Started Day1

Hey Guys long time no see today ill give u a big gift is java tutorial and today ill use every class of java programming for the fast speed scripting and hope you enjoy it!

Beginning Started!

Ok! Let me take start the first you need to do is open your favorite browser and search netbeans for start and download it and install it ,by the way using linux install need
chmod +x [SHELL_FILE]




















Nice! Now you have the perfect using environment ,Lets create the project now!
 Choice the Java Application easily and click the
next button!
<------------
And name the project to the JavaApplication1
simplify and click finish to start!
NOW LETS START EDIT!
at the next steps i will using the bigger font for explaining and 
i will using smaller font to  
coding
picture 3 and 4
Lets JAVA IT!
first i wanna illustrate the first programming line
public class JavaApplication1{
explanation:
public meaning your file will make publish and your project can see your file
class meaning your file is java file format 
JavaApplication is your file name
{ <--Big parentheses is important in every description command!
; <--- Semicolon is important in every command need!
public static void main(String []args){
static in java meaning STABLE so every u want to make your objects STABLE just using the static command and make it quiescent static mode
 void is make your program have some limits and make the program won't broken 
//Make your description on here // only use on a line, if you want to use it over one line u can use it /*
switch line for
simple
*/
And your description NEVER executive on your program!
Ok! Let's see the number proclaim of java 
  1. int : Integer it won't make your computer using much memory
  2. double : a command of using most of your memory but it can use accurately
  3. boolean : just true or false only use one bit every single command
Next! lets see how to read use input on java, java have one object named Scanner scanner is a virtual machine on your computer just like a real scanner , for example: you want your file can be editable and wish someone can edit it simplify and i can log it,  when you log the who is user editing your program that scanner logging.
But using this command need to import the file on the java utils
it is not set it default. 
But how can we do it?
you just import your file on the top of your program and type:
import java.util.scanner;
and then using your computer to proclaim your machine and name it for short(make you programming simplify and productively)
Scanner s = new Scanner(System.in);

Hope you enjoy my blogger!

留言

這個網誌中的熱門文章

Spanish subject categories