java tutorial 2 [w/ subs]



00:00:00 – hello guys welcome to my youtube channel
00:00:02 – individual ever teach you how to write
00:00:04 – our program how to run our program how
00:00:08 – to compile the program and how to fit
00:00:10 – the part
00:00:11 – click for setting apart very cool
00:00:15 – technique which one is take part and for
00:00:18 – it but for do we have to write
00:00:23 – everything but in the second technique
00:00:26 – setting of system videos just to be able
00:00:29 – to the primary taking perfect in a jar
00:00:31 – but so how to write a Java program
00:00:35 – firstly open note back from your
00:00:38 – computer IP that after that type class
00:00:43 – classes the keyword followed by the
00:00:46 – class name classes should always started
00:00:48 – capital later
00:00:58 – classes the keyboard presenting jolla
00:01:01 – followed by the glass clinking glasses
00:01:03 – should all start with capital letters
00:01:05 – for ms capital indeed within your body
00:01:08 – often the first letter of the equity
00:01:10 – capital later after that we have to
00:01:15 – write probably that acquired main string
00:01:25 – of our again opening including pair of
00:01:34 – braces for what is this public static
00:01:39 – world men king of us public is an access
00:01:44 – modifier be fine
00:01:45 – you can access this method public is
00:01:50 – that material accessible by any of class
00:01:52 – with other class are able to access this
00:01:55 – class static keyword advertising class
00:01:58 – religious things
00:02:00 – this means the given method or variable
00:02:02 – is not an instant related but class
00:02:04 – related it can be accessed without
00:02:06 – creating an instance of the class what
00:02:09 – is the dented it means it was presented
00:02:12 – any value mean it is the name of the
00:02:17 – Mater this method is search for GBM give
00:02:21 – me a java virtual machine and a starting
00:02:23 – point for an application with the
00:02:25 – particular signature on the king of us
00:02:28 – is a parameter of the main middle now
00:02:33 – you're the right one for instrument
00:02:37 – system dot out dot println
00:02:46 – this we are the right one for
00:02:51 – entertainment hello jolla fresh mind
00:02:58 – so what is this system dot out dot
00:03:00 – println system is the class out of this
00:03:07 – kind of object of the printer a class
00:03:09 – together in the system class as a static
00:03:12 – and it can directly access with the
00:03:15 – class name system hence whenever you
00:03:22 – want to perform of cooperation we should
00:03:24 – always use system dot out dot println
00:03:27 – after writing our program we must save a
00:03:32 – java program so the jogging now the
00:03:39 – location been very want to save the job
00:03:42 – of them we are going to say without
00:03:44 – overwhelming local exceed so we can see
00:03:48 – a java program with any of filing we can
00:03:55 – tell this java file with the name of
00:04:04 – the start ja
00:04:12 – after that we have to combine the
00:04:15 – histogram so open command from a CMV it
00:04:20 – enter the exact location where the java
00:04:27 – file shape so our final location is in
00:04:31 – the drive to type column and hit enter
00:04:46 – for compilation of java we use Java Sea
00:04:51 – jealousy is the compiler for the German
00:04:53 – language first of all we have to take
00:04:58 – apart for a while compiling the program
00:05:01 – setting apart is of two types personally
00:05:05 – great part and second one is sitting
00:05:10 – apart with the system variable cost me
00:05:13 – 350 feet but we have to type it part and
00:05:17 – paste that being location javabean
00:05:20 – location part we have to do this in
00:05:24 – every day but in setting a part of 15
00:05:28 – variable we could do it only band so i
00:05:35 – will show you the first technique of
00:05:36 – sitting apart to type open a jar file
00:05:43 – location where the job is still open
00:05:46 – Localytics c program files open their
00:05:53 – job holder there are two folders are in
00:05:57 – Java for virtually Jenna key for one
00:06:00 – second one is tre and now open if GK
00:06:04 – 1.10 hoping his bin folder copy that
00:06:12 – part
00:06:13 – copy that part
00:06:20 – type sick part equal to paste that part
00:06:26 – that's in column and indicate enter and
00:06:33 – now time Java Sea and that finally we
00:06:38 – filled in Java we still a program meet a
00:06:46 – filename call that B dot java so thanks
00:06:52 – b-dawg java and hit enter
00:06:59 – it doesn't do any end either after car
00:07:06 – company a**** program it will create a
00:07:09 – profile i will show you the doctor so
00:07:18 – open deck location of our are jobless
00:07:24 – president Localytics so this is the
00:07:31 – Caliph I after compiling the program
00:07:34 – every code if we create a class
00:07:38 – classifying as you seen this is our
00:07:43 – class so after completion program java
00:07:48 – compiler cute and classifying whatever
00:07:52 – whatever class water class for earnings
00:07:55 – are in our car
00:07:57 – java java creaks all that classified
00:08:00 – with dot class extension we cannot read
00:08:05 – that dollar fine even by code so i can i
00:08:14 – will show you that code
00:08:18 – sorry before open with no that didn't
00:08:26 – bytecode you cannot read that file to
00:08:31 – close it after compilation of java file
00:08:40 – code is generated so we have to execute
00:08:46 – that classified to type java java either
00:08:50 – interpreter present our clients jealousy
00:08:53 – the compiler and java is the
00:08:55 – interpretive so we are to type that
00:09:01 – domain classified that has public static
00:09:05 – void meant so Java my new ground and
00:09:14 – only to type dot slash hit enter and
00:09:25 – begin the output hello
00:09:26 – java punishments
00:09:34 – and you think whenever compiler on java
00:09:38 – created are classified and we have to
00:09:42 – execute that classified only which
00:09:46 – having a main function therefore be
00:09:48 – right
00:09:49 – java and that classified main class my
00:09:53 – google and then we get the result of the
00:09:56 – printing statement
00:09:57 – hello java fresh might this is the first
00:10:02 – technique for setting apart everybody
00:10:04 – able two dozen other techniques setting
00:10:06 – up system variables
00:10:08 – this is the apartment technique with our
00:10:10 – don't you are so again copy that part
00:10:14 – open my computer open Google exceed open
00:10:21 – program file opened our folder open that
00:10:25 – GDK copy that part and then you can can
00:10:33 – you open right click on my computer
00:10:36 – select properties and then select
00:10:46 – advanced system settings
00:10:51 – and then select environment variables
00:10:55 – find out the system variable find out
00:11:02 – the part yes but click it click edit
00:11:09 – button topic that part is that part with
00:11:19 – the carpet part into the semicolon and
00:11:23 – press ok ok and ok close it after that
00:11:33 – again again open command from that p.m.
00:11:46 – read that location we had elevated suit
00:11:48 – type ja
00:11:58 – last name is our finest dollars 40
00:12:11 – okay Jackie that finding that java
00:12:19 – filing of the first successful
00:12:25 – completion of compiler the classified
00:12:32 – will generated but whatever the main
00:12:34 – classified or any other class while
00:12:36 – presenting that final speed or Java we
00:12:40 – ought to run we have to execute that
00:12:42 – main file on our main parties remain
00:12:47 – classified the java my program you need
00:12:56 – to start class so like Java Bible and
00:13:03 – hit enter we get the film book but the
00:13:11 – second pick in second case the second
00:13:13 – technique very efficient we don't want
00:13:20 – to write a set but again and again if
00:13:24 – three if you that part then Africa if
00:13:28 – you close the command from when we again
00:13:30 – right side part and paint that part so
00:13:33 – the order problem use 50 variable part
00:13:37 – set up the environment variables isn't
00:13:40 – best technique for getting a job of
00:13:43 – thank you for watching subscribe my
00:13:47 – channel thank you


Video Url:
http://youtu.be/a83cMvWkxqY

(Visited 11 times, 11 visits today)

Comments

comments