Skip to main content

Basic java

java java java, learn java online free, classroom java tutorial, beginners java, java beginners, java programming, basic java ,basic java Tutorial, basic java  Assignment 

    
    Hello friends ,  


    I am learning Basic java . my motive behind this blog is to help those want to learn Basic java online free of cost and grab each and every basic aspect of java programming .

    you can find java tutorial from basic on this blog i will post each and every assignment of basic java with source code .
    
    we will divide our course  in to Day work .
    
    Let's start Day One  Basic Java Assignment for Beginners

     Basic Requirement to learn Java Programming Download following software  
      
   1. Text Editor (Notepad, Notepad++, Edit pad, Eclipse  )
       i am using Notepad++  https://notepad-plus-plus.org/

   2. Latest JDK  current version is JDK 8 but depending on your     PC Configuration and Bit (32 bit/ 64 bit) you need to install 



   Installation Steps 


 1. Download  JDK 
  2. Double click on Exe start installation Select C: Drive Path 
Accept the licnce agrement & click on next\
  1. 3.If you want to change the installation path click on Chage (Default path is c:\programfile\java\jdk1.5.2 ) click on next
4. Click on install button to start the installatation
5.Installing java on the computer
6.Click on finished to finish installation

Following are the steps showing how to set path


1. Click on start 
2. Click on run
3. Type cmd and press enter
4. type your path like path = C:\Program Files\Java\j2sdk1.5.0\bin;(default)
5. if above screen showing then your path successfully set
6. type your program on any edit pad like note pad 
7. save it by giving .java exetion 
8. compile & run using command prompt

  It is useful to set the PATH variable permanently so it will persist after rebooting.  


       To set the PATH variable permanently, add the full path of the jdk1.7.0\bin directory to the PATH variable. Typically, this full path looks something like C:\Program Files\Java\jdk1.7.0\bin. 
        Set the PATH variable as follows on Microsoft Windows:

  1.       Click Start, then Control Panel, then System.
  2.       Click Advanced, then Environment Variables.
  3.     Add the location of the bin folder of the JDK installation for the PATH variable in System Variables. The following is a typical value for the PATH variable:


      C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.7.0\bin

      Java Program to print simple message

       Save as One.java on D: in java folder 

          public class One{
                          public static void main(String args[])
                            {
                              System.out.println("good one \n ");
                              System.out.println("good Morning \n");
                            }
                         }
h


h





    
    How to run 
  1.      go to start menu  in search type  command  cmd press enter run Javac to check jdl working or not 
  2.      type  D:  (to go on  D drive )
  3.     type  cd java and press enter to go to that folder 
  4.      now compile program using   javac one.java go to path you will find two file exist in java folder that is  one.java and one.class that file i.e file created after compilation 
  5.      Run our program using  java one 
  6.     it will give you output as good one and 
    good Morning  on new line due to \n 
     


    Peoples are searching using various keywords for java tutorial which are popular java tutorial w3schools ,java tutorial for beginners, java tutorial videos,java tutorial PDF ,advanced java tutorial, java basics concepts, java basics for beginners,java programming examples

    java java java, learn java online free, classroom java tutorial, beginners java, java beginners, java programming, basic java ,basic java Tutorial, basic java  Assignment 


    

Comments

Labels

Show more

Popular posts from this blog

Calculator Program using jFrame

Calculator Program using jFrame java swing calculator example java jframe calculator source code java code for simple calculator using gui how to make a calculator in advance java using JFrame simple calculator program in java using frame simple calculator program in java source code write a code to create simple calculator using swing component import javax.swing.*; import java.awt.event.*; public class TextFieldExample extends JFrame implements ActionListener{     JTextField tf1,tf2,tf3;     JButton b1,b2; //declaration of control     TextFieldExample(){         JFrame f= new JFrame("Button click demo"); //         tf1=new JTextField();         tf1.setBounds(50,50,150,20);         tf2=new JTextField();         tf2.setBounds(50,100,150,20);         tf3=new JTextField();       ...

Java Program to delete record using JFrame and Prepaired Statement

Java Program to delete record using JFrame and Prepaired Statement Here is table Design  Create table demo using two column as id  and Dname , id is primary key  Program source code  +import javax.swing.*;   import java.awt.event.*;   import java.sql.*; public class FrameDelete extends JFrame implements ActionListener{       JTextField tf1,tf2,tf3;       JButton b1,b2;   JLabel l1,l2; Connection con;    PreparedStatement psmt;   int result; //declaration of control    FrameDelete(){           JFrame f= new JFrame("InsertDemo");   // l1=new JLabel("Enter RollNo"); l1.setBounds(150,10,150,50);         tf1=new JTextField();           tf1.setBounds(150,50,150,20);   tf3=new JTextField();           tf3.setBounds(1...