Sunday, 25 February 2018

introduction to java and Installation of java programming







package javaapplication2;











public class JavaApplication2

{



   

    public static void main(String[] args)

    {

        int a=112,b=9;

        System.out.println("Hello World");

        System.out.println("Hello to java \nHello to OOP");

        a=a+b;

        System.out.println("value of a= "+a);

        a=a-b;

        System.out.println("value of a= "+a);

        a=a*b;

        System.out.println("value of a= "+a);

        a=a/b;

        System.out.println("value of a= "+a);

       

       

       

       

       

       

       

       

    }

   

}


No comments:

Post a Comment

Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC

Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...