Wednesday, 29 July 2015

Java Tutorial : The Main method

/**
 * This program prints arguments passed in the output screen.
 */
public class MyApp
{

    public static void main(String[] args)
    {

        System.out.println("Argument Length : "+args.length);
        
        if (args.length == 0)
        {
            System.out.println("No arguments passed");  
        }
        else
        {
            for (String arg : args)
            {
                System.out.println(arg);
            }
        }

    }
}

Output
Argument Length : 3
peter
john
juli

Click the below Image to Enlarge
Java Tutorial : The Main method

Java Tutorial : The Main method

Java Tutorial : The Main method

Java Tutorial : The Main method

Java Tutorial : The Main method

Java Tutorial : The Main method

Java Tutorial : The Main method

Java Tutorial : The Main method
To Download DisplayAllHeadersApp Project Click the below link
https://sites.google.com/site/javaee4321/java/JavaArgsDemoApp.zip?attredirects=0&d=1

See also:
  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Java Tutorial : Java Basic Program


    Click here to watch in Youtube :
    https://www.youtube.com/watch?v=9_z81tIs4Mk&list=UUhwKlOVR041tngjerWxVccw

    Click the below Image to Enlarge
    Java Tutorial : Java Basic Program

    Java Tutorial : Java Basic Program
    Java Tutorial : Java Basic Program
    Java Tutorial : Java Basic Program
    Java Tutorial : Java Basic Program
    Java Tutorial : Java Basic Program
    Java Tutorial : Java Basic Program
    Java Tutorial : Java Basic Program
    See also:
  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Thursday, 23 July 2015

    Java Tutorial : What Can Java Technology do?


    Click here to watch in Youtube :
    https://www.youtube.com/watch?v=Q16U8Ri53lM&list=UUhwKlOVR041tngjerWxVccw

    Click the below Image to Enlarge
    Java Tutorial : What Can Java Technology do? 
    Java Tutorial : What Can Java Technology do? 
    Java Tutorial : What Can Java Technology do? 
    Java Tutorial : What Can Java Technology do? 
    Java Tutorial : What Can Java Technology do? 
    Java Tutorial : What Can Java Technology do? 

    Java doc Link:

    https://docs.oracle.com/javase/8/docs/api/

    See also:

  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Java Tutorial : The Java Programming Langauage


    Click here to watch in Youtube :
    https://www.youtube.com/watch?v=CPUwrpGeJAY&list=UUhwKlOVR041tngjerWxVccw

    Click the below Image to Enlarge

    Java Tutorial : The Java Programming Langauage
    Java Tutorial : The Java Programming Langauage

    Java Tutorial : The Java Programming Langauage
    Java Tutorial : The Java Programming Langauage
    Java Tutorial : The Java Programming Langauage
    Java Tutorial : The Java Programming Langauage
    See also:
  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Monday, 20 July 2015

    Apache Maven : Apache Maven Installation (Linux OS)


    Click here to watch in Youtube :
    https://www.youtube.com/watch?v=zpOX8F_vW1k&list=UUhwKlOVR041tngjerWxVccw

    Click here to download Apache Maven :

    http://maven.apache.org/

    http://maven.apache.org/download.cgi

    http://maven.apache.org/install.html


    Linux Commands:
    #wget http://apache.arvixe.com/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
    
    #tar xvf apache-maven-3.3.3-bin.tar.gz
    
    #mvn –version
    

    Maven Path Setup:
    export M2_HOME=/opt/apache-maven-3.3.3
    export M2=$M2_HOME/bin
    export PATH=$M2:$PATH
    

    Click the below Image to Enlarge
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    Apache Maven : Apache Maven Installation (Linux OS) 
    See also:

  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial