Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

What is Java? , Java introduction, Java definition, Java Fundamental      

                                                     NEXT SESSION





About Java:-

Java is a complete technology or platform, which is used to create small scale to large scale application’s using Java Programming language, Java Development Kit and Java Frameworks.


Java Technology Provide a complete platform to compile and execute the java program code using JDK and JRE.


Java code converted into byte code by java compiler under JDK.


Java Technology uses JVM (Java virtual machine ) to execute java byte code to any operating system hence Java is platform-independent but JVM dependent. JVM  is part of JRE.


JVM is a subpart of JRE which is also called the virtual operating system of Java.


In the developer machine, JDK and JRE both are required, but in the client machine, only JRE is required.




About Java Programming language:-

Java programming language is an Object-oriented programming language which is used to create a real-world based application for end-users.

Real-world application means the application which will be created for the normal user's for example Skype, Zoom, google meet is the best platform for video and audio conferencing.

Online banking, Whatsapp, Instagram, Facebook, google these all are real-world based application.


History of Java:-

Java programming language was developed by James Gosling and his teams from 1991 to 1995 under the Sun microsystem company. initially, java was named  OAK but oak was reserved hence it renamed  Java. java language is an enhancement of C and C++ language.  








Unique features of Java programming Languages:-


Java Programming language provides better 

1) Security

2) Reusability

3) Accessibility

4) Dynamic memory allocation (RAM) for real-time applications.

5)  Multithreading

6)  Distributed

7) Garbage collector for automatic memory management

8)  Remote programming using RMI

9)  Network Support

10)  Best processing speed under server and operating system.





Java is Platform dependent or Independent?


Java programming language is an operating system independent language because java program will be executed by JVM, not by the operating system.

When we compile Java Program code then it will convert into byte code by Java compiler, Byte code will be executed by JVM (Java Virtual Machine), not by the operating system hence JAVA Byte Code is Operating System free.


1) Hello.java---------------->

     (Compile)---->

2) Byte Code----->

      (Load by JVM ClassLoader) ------> 


3)  JVM---->(convert)--------> byte code to machine code using JIT.

                 Machine code using JIT (Just in time compiler)


4)  machine code will be executed by the Operating System.






Software Tools For Java:-
........................................................................


How to download Java from the internet:-

https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html

1 JDK + JRE 

 JDK (Java Development Kit)

it is used to compile java program code to byte code.

.java ----> .class conversion will be managed by JDK.

JRE  (JAVA Runtime Environment)

it is used to execute byte code(class file) to machine code using JVM(Java Virtual Machine).

JVM is the virtual executor for java program code but JVM is operating System dependent. Linux JVM and Windows JVM both will be different.

but .class file is common for all JVM.


note:-  for a developer or learner machine:-  JDK+JRE

for client machine:-   JRE (Java runtime environment)

................................................................................................................................................

How we check Java is installed in the machine?

go on program files and check Java (JDK+JRE)


How we check that the Java path is set or not?

open command prompt and type javac.
if javac describes then the path is set.

internal or external command problem then the path is not set.

How to set the path?

1 temp path:-

 without admin permission, we can set this path .simple copy default path of java

c:/program files/java/jdk/bin

open command prompt type cmd on the run

set path=C:\Program Files\Java\jdk1.8.0_161\bin.

When the command prompt will be closed then the path will reset.


2 permanent path:-

right click on mycomputer----> properties---> advance system setting--->environment variable----> new 

a window will appear.



variable name:-    path
variable value:-     C:\Program Files\Java\jdk1.8.0_161\bin
press ok, ok and ok

restart command prompt


Video to set path





CREATE the FIRST PROGRAM OF JAVA:-

Open notepad and write code

class Classname
{
   public static void main(String args[])
   {
          System.out.println("statement");
   }

}

2 Save this program using .java file

    Classname.java 

Compile this program

    javac Classname.java

4 Execute this program

    java Classname    


Assignment:- 

WAP to calculate simple interest?
Solution:-


class SI
{
   
   public static void main(String args[])
  {
      float p,r,t,si;
      p=10000;
      r=2;
      t=2;
      si=(p*r*t)/100;
      System.out.println("result is ="+si);
 

  }



}

WAP to reverse a five-digit number without using a loop?

The solution of this program;-

class Reverseexample
{
    public static void main(String args[])
    {
           int num = 12345;
           int a = num%10;
           num = num/10;
           int b = num%10;
           num = num/10;
           int c = num%10;
           num = num/10;
           int d = num%10;
           int e = num/10;
           int rev = a*10000+b*1000+c*100+d*10+e*1;
           System.out.print(rev); 
           

    }


}


WAP to Swap two numbers?





Create a Program to print name, email, mobile, and date of the birth field?

class Biodata
{
  public static void main(String args[])
  {
     String name,email,mobile,dob;
     name= "manish kumar";
     email= "manishkumar@gmail.com";
     mobile= "9812312345";
     dob="10/06/1998";
     System.out.println("name is "+name);
     System.out.println("email is "+email);
     System.out.println("mobile no is "+mobile);
     System.out.println("dob is "+dob);
       
     }

}


WAP to reverse 7 digit number?

WAP to convert temprature from celsious to  

Fahrenheit 

?

WAP to calculate electricity bill where unit price and total consumption will be assigned by the users?









                                                          NEXT SESSION


47 Comments

If you have any doubt in programming or join online classes then you can contact us by comment .

  1. Q:- Calculate the Simple Intrest ?
    Solution :-

    class Si
    {
    public static void main(String args[])

    {
    float p=20000,r=5,t=2,si;
    si=(p*r*t)/100;
    System.out.println(si);
    }
    }

    ReplyDelete
  2. Q:- WAP to print the Table of Given Number ?
    Solution :-
    class Table
    {
    public static void main(String args[])

    {
    int n=2,ans,i;
    for(i=1;i<=10;i++)
    {
    ans = n*i;
    System.out.println(n + " * " + i + " = " + ans);
    }
    }
    }

    ReplyDelete
  3. Q:- WAP to Print any String ?
    Solution :-
    class Test
    {
    public static void main(String args[])

    {
    System.out.println("hello Java");
    }
    }

    ReplyDelete
  4. Q:- WAP to reverse 7 digit number ?
    Solution:-

    class Reverse
    {
    public static void main(String args[])
    {
    int num = 1234567;
    int a = num%10;
    num = num/10;
    int b = num%10;
    num = num/10;
    int c = num%10;
    num = num/10;
    int d = num%10;
    num = num/10;
    int e = num%10;
    num = num/10;
    int f = num%10;
    num = num/10;
    int g =num/10;
    int rev = a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.print(rev);
    }
    }

    ReplyDelete
  5. Q:- WAP to swap two numbers ?
    Solution:-
    class Swap
    {
    public static void main (string args[])
    {
    int a=100,b=20,c;
    c=a;
    a=b;
    b=c;
    System.out.println(a + " , " +b);
    }
    }

    ReplyDelete
  6. class Sc_root
    {
    public static void main(String[] args)
    {
    int n=10, s, c;
    s=n*n;
    c=s*n;
    System.out.println("Sq_root = "+s);
    System.out.println("Cb_root = "+c);
    }
    }

    ReplyDelete
  7. //WAP to covert cm to inches and inches to cm
    class Inchescm
    {
    public static void main(String args[])
    {
    double inches,cm;
    inches=25;
    cm=2.54*inches;
    inches=2.54/cm;
    System.out.println("result="+cm);
    System.out.println("result="+inches);

    }
    }

    ReplyDelete
  8. WAP convert inches to cm and cm to inches
    class Inchescm
    {
    public static void main(String args[])
    {
    double inches,cm;
    inches=25;
    cm=2.54*inches;
    inches=cm*0.393700787402;
    System.out.println("result="+cm);
    System.out.println("result="+inches);

    }
    }

    ReplyDelete
  9. Convert Centimeter to Inch

    class ConvertCtoI
    {
    public static void main(String args[])
    {
    float c=34.567F,i;

    i = c/2.54F;
    System.out.println("Inch value is "+i);



    }



    }

    ReplyDelete
  10. Convert Inch to Centimeter?

    class ConvertItoC
    {
    public static void main(String args[])
    {
    float c,i=56;

    c = i*2.54F;
    System.out.println("CM value is "+c);



    }



    }

    ReplyDelete
  11. WAP to reverse 7 digit number
    class Reverse
    {
    public static void main(String[]args)
    {
    int num=1234567;
    int a=num%10;
    num=num/10;
    int b=num%10;
    num=num/10;
    int c=num%10;
    num=num/10;
    int d=num%10;
    num=num/10;
    int e=num%10;
    num=num/10;
    int f=num%10;
    num=num/10;
    int g=num%10;
    int rev = a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.println(rev);
    }
    }

    ReplyDelete
  12. WAP to convert temperature from celsius to Fahrenheit

    class Temperature
    {
    public static void main(String[]args)
    {
    float celsius, fahrenheit;
    fahrenheit=122;
    celsius=(5*fahrenheit-160)/9;
    System.out.println("cel"+celsius);


    }
    }

    ReplyDelete
  13. class reverse
    {
    public static void main(String args[])
    {
    int num=1234567;
    int a,b,c,d,e,f,g;
    int reverse;

    a=num%10;
    num=num/10;

    b=num%10;
    num=num/10;

    c=num%10;
    num=num/10;

    d=num%10;
    num=num/10;

    e=num%10;
    num=num/10;

    f=num%10;
    num=num/10;

    g=num%10;
    num=num/10;

    reverse=a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;

    System.out.println(reverse);
    }
    }

    ReplyDelete
  14. /* WAP to calculate SI;
    class Si
    {
    public static void main(String args[])
    {
    float p,r,t,si;
    p=100F;
    r=5F;
    t=5F;
    si=(p*r*t)/100;
    System.out.println(+si);
    }
    }

    ReplyDelete
  15. Write a program to print reverse number.

    class Reversenumber

    {
    public static void main(String args[])

    {

    int num=12345;

    int a,b,c,d,e;

    a=num%10;

    num=num/10;

    b=num%10;

    num=num/10;

    c=num%10;

    num=num/10;

    d=num%10;

    e=num/10;

    int rev= a*10000+b*1000+c*100+d*10+e*1;

    System.out.println(rev);

    }

    }

    ReplyDelete
  16. write a program to swap two numbers.

    class Swap
    {
    public static void main(String[] args)
    {
    int a=2,b=3,c;
    c=a;
    a=b;
    b=c;
    System.out.println(a);
    System.out.println(b);
    }
    }

    ReplyDelete
  17. // WAP TO REVERSE 7 DIGIT NUMBER
    class Reverse7digit
    {
    public static void main(String abc[])
    {
    int num=1234567;
    int a=num%10;
    num=num/10;
    int b=num%10;
    num=num/10;
    int c=num%10;
    num=num/10;
    int d=num%10;
    num=num/10;
    int e=num%10;
    num=num/10;
    int f=num%10;
    num=num/10;
    int g=num%10;
    int rev=a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.println("the revese number is" +rev);
    }
    }

    ReplyDelete
  18. // WAP TO REVERSE 7 DIGIT NUMBER
    class Reverse7digit
    {
    public static void main(String abc[])
    {
    int num=1234567;
    int a=num%10;
    num=num/10;
    int b=num%10;
    num=num/10;
    int c=num%10;
    num=num/10;
    int d=num%10;
    num=num/10;
    int e=num%10;
    num=num/10;
    int f=num%10;
    num=num/10;
    int g=num%10;
    int rev=a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.println("the revese number is" +rev);
    }
    }

    ReplyDelete
  19. //WAP to calculate electricity bill where unit price and total consumption will be assigned by the users?
    import java.util.Scanner;
    class Bill
    { ;
    public static void main(String abc[])
    {
    int a;//unit price
    int b;//unit consumption
    Scanner sc = new Scanner(System.in);
    System.out.println("unit price");
    a= sc.nextInt();
    System.out.println("unit consumption");
    b= sc.nextInt();
    int c;//total consumption
    c=a*b;
    System.out.println("total cost of consumption is "+c);
    }
    }

    ReplyDelete
  20. kinjal
    //WAP to SWAP two numbers-

    class Swap
    {

    public static void main(String[] args)
    {

    int x = 100, y = 200;

    System.out.println("Before Swap");
    System.out.println("x = " + x);
    System.out.println("y = " + y);

    int temp = x;
    x = y;
    y = temp;

    System.out.println("After swap");
    System.out.println("x = " + x);
    System.out.println("y = " + y);
    }
    }

    ReplyDelete
  21. WAP two number swap



    class AddTwoNumbers {

    public static void main(String[] args) {

    int num1 = 5, num2 = 15, sum;
    sum = num1 + num2;

    System.out.println("Sum of two number: "+sum);
    }
    }

    ReplyDelete
  22. WAP two number swap


    class AddTwoNumbers {

    public static void main(String[] args) {

    int num1 = 5, num2 = 15, sum;
    sum = num1 + num2;

    System.out.println("Sum of two number : "+sum);
    }
    }

    ReplyDelete
  23. Manvi Surana
    Q) Simple Interest
    class Si
    {
    public static void main(String args[])
    {
    int si,p=1000,r=5,t=1;
    si=(p*r*t)/100;
    System.out.println(si);
    }

    }

    ReplyDelete
  24. class Simpleintrest
    {
    public static void main(String args[])
    {
    float p=20000,r=4,t=4,si;
    si=(p*r*t)/100;
    System.out.println("simple instrest is"+si);
    }
    }

    ReplyDelete

  25. class Simple
    {
    public static void main(String args[])
    {
    int p=5000,r=5,t=2,si;
    si=(p*r*t)/100;
    System.out.println(si);
    }
    }

    ReplyDelete
  26. class Swap
    {
    public static void main(String args[])
    {
    int n1=12,n2=6,temp=0;

    temp=n1;
    n1=n2;
    n2=temp;
    System.out.println("n1="+n1+" "+"n2="+n2);
    }
    }

    ReplyDelete
  27. nayansi purwar

    Q:- Calculate the Simple Intrest ?
    Solution :-

    public class SI {

    public static void main(String[] args) {

    float si, p=1000;
    float rate=3;
    float time=2;
    si=(p*rate*time)/100;
    System.out.println(si);
    }

    }


    ReplyDelete
  28. Q-->WAP to calculate electricity bill where unit price and total consumption will be assigned by the users?

    solution-->
    public class Electricitybill {


    public static void main(String[] args) {

    int Unit_price=8;
    double Total_consumption=340.1;
    double bill=Unit_price*Total_consumption;
    System.out.println("Total Electricity bill:"+bill);
    }

    }


    ReplyDelete
  29. #NAYANSI PURWAR

    # WAP to convert temprature from celsious to Fahrenheit ?

    -->

    public class Fahrenheit {


    public static void main(String[] args) {

    int celcius=40;
    int fahrenheit=(celcius*9/5)+32;

    System.out.println("celcius to fahrenheit:"+fahrenheit);
    }

    }



    -->

    ReplyDelete
  30. #Nayansi purwar

    #WAP to reverse 7 digit number?


    -->
    public class Reverse{

    public static void main(String[] args)
    {
    int num=1234567;
    int a=num%10;
    num=num/10;
    int b=num%10;
    num=num/10;
    int c=num%10;
    num=num/10;
    int d=num%10;
    num=num/10;
    int e=num%10;
    num=num/10;
    int f=num%10;
    int g=num/10;
    int rev=a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.println(rev);


    }
    }

    ReplyDelete
  31. kinjal singh sirohiJanuary 28, 2021 at 12:04 AM

    class Temperature
    {
    public static void main(String[]args)
    {
    float celsius, fahrenheit;
    fahrenheit=122;
    celsius=(fahrenheit-32)*5/9;
    System.out.println("cel"+celsius);


    }
    }

    ReplyDelete
  32. Mansi Awasthi
    -WAP to reverse 7 digit number

    class ReverseNum
    {
    public static void main(String args[])
    {
    int num=1234567;
    int a=num%10;
    num=num/10;
    int b=num%10;
    num=num/10;
    int c=num%10;
    num=num/10;
    int d=num%10;
    num=num/10;
    int e=num%10;
    num=num/10;
    int f=num%10;
    num=num/10;
    int g=num%10;
    int rev = a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.println(rev);
    }
    }

    ReplyDelete
  33. # Noopur Rana
    class SI
    {
    public static void main (String args[])
    {
    float p=18000,r=4,t=5,si;
    si=(p*r*t)/100;
    System.out.println("Simple Interest is:"+si);
    }
    }

    ReplyDelete
  34. #Noopur Rana
    #WAP to Swap numbers
    class Swapping
    {
    public static void main(String args[])
    {
    int p=15 , q = 45 , r=30;
    System.out.println("Before Swapping:"+p+" " +q);
    r=p;
    p=q;
    q=r;

    System.out.println("After Swapping:" +p+ " " +q);
    }
    }

    ReplyDelete
  35. Khushboo Sendre
    class SimpleInterset
    {
    public static void main(String args[])
    {
    float p,r,s,t;
    p=10000;
    r=2;
    t=2;
    s=(p*r*t)/100;
    System.out.println("The simple interset ="+s);
    }
    }

    ReplyDelete
  36. Khushboo Sendre
    #WAP to reverse a five-digit number without using a loop?
    class Reverse
    {
    public static void main(String args[])
    {
    int num=98765;
    int a = num%10;
    num = num/10;
    int b= num%10;
    num = num/10;
    int c = num%10;
    num = num/10;
    int d =num%10;
    num = num/10;
    int e = num%10;
    num = num/10;

    int rev = a*10000+b*1000+c*100+d*10+e*1;
    System.out.println(rev);
    }
    }

    #WAP to Swap two numbers without third variable?
    class Swap
    {
    public static void main(String args[])
    {
    int a=10,b=20;
    a=a+b;
    b=a-b;
    a=a-b;
    System.out.println(a);
    System.out.println(b);
    }
    }


    #WAP to Swap two numbers with third variable?
    class Swapp
    {
    public static void main(String args[])
    {
    int a=50,b=80,c;
    c=a;
    a=b;
    b=c;
    System.out.println("The result is:"+a+" "+b);
    }
    }


    #Create a Program to print name, email, mobile, and date of the birth field.
    class Bio
    {
    public static void main(String args[])
    {
    String name,email,mobile,dob;
    name="Khushboo Sendre";
    email="khushboo.sendre198@gmail.com";
    mobile="9074897157";
    dob="01.01.1998";

    System.out.println("Name="+name);
    System.out.println("Email="+email);
    System.out.println("Mobile="+mobile);
    System.out.println("DOB="+dob);
    }
    }

    #WAP to reverse 7 digit number?
    class ReverseNum
    {
    public static void main(String args[])
    {
    int num=1234567;

    int a=num%10;
    num=num/10;

    int b=num%10;
    num=num/10;

    int c=num%10;
    num=num/10;

    int d=num%10;
    num=num/10;

    int e=num%10;
    num=num/10;

    int f=num%10;
    num=num/10;

    int g=num%10;
    num=num/10;

    int reverse=a*1000000+b*100000+c*10000+d*1000+e*100+f*10+g*1;
    System.out.println(reverse);
    }
    }

    #WAP to convert temprature from celsious to Fahrenheit ?
    class Fahrenheit
    {
    public static void main(String args[])
    {
    float cel,fahrenheit;
    fahrenheit=640;
    cel=(fahrenheit-32)*5/9;
    System.out.println(cel);
    }
    }

    #WAP to calculate electricity bill where unit price and total consumption will be assigned by the users?
    class Electricity
    {
    public static void main(String args[])
    {
    int unitprice=10,totalconsumption=520,electricitybill;
    electricitybill=unitprice*totalconsumption;
    System.out.println(electricitybill);
    }
    }

    ReplyDelete
  37. class example80
    {
    public static void main(String ...arg)
    {
    int a=450,b=568,c;
    c=b;
    b=a;
    a=c;
    System.out.print("value of a ="+a+"\n"+"value of b = "+b);

    }
    }

    ReplyDelete




















































  38. Ankita Verma

    public class BillClass
    {
    public static void main(String args[])
    {
    int unit_price=10;
    double total_consumption=400.3;
    double electricity_bill;
    electricity_bill=unit_price*total_consumption;

    System.out.println("electricity_bill" +electricity_bill);

    }
    }

    ReplyDelete
  39. Ankita Verma
    import java.util.Scanner;

    class SwapClass
    {
    public static void main(String arg[])
    {
    Scanner sc =new Scanner(System.in);
    int y,z;

    System.out.println("enter the value of y=");
    y=sc.nextInt();//Scanner objct to integer
    System.out.println("enter the value of z=");
    z=sc.nextInt();//Scanner object to integer
    y=y+z;
    z=y-z;
    y=y-z;
    System.out.println("Swap the value y & z" + " " + y + " " + z);

    }
    }

    ReplyDelete
  40. Ankita Verma

    class ReverseClass
    {
    public static void main(String arg[])
    {
    long num=1234789;
    long t=num%10;
    num=num/10;
    long u=num%10;
    num=num/10;
    long v=num%10;
    num=num/10;
    long w=num%10;
    num=num/10;
    long x=num%10;
    num=num/10;
    long y=num%10;
    num=num/10;
    long z=num%10;
    num=num/10;
    long rev=t*1000000+u*100000+v*10000+w*1000+x*100+y*10+z*1;
    System.out.println(rev);
    }
    }

    ReplyDelete
  41. Ankita Verma

    class Temperature
    {
    public static void main(String args[])
    {
    float celsious,fahrenheit;
    fahrenheit=24;
    celsious=(5*fahrenheit-160)/9;
    System.out.prinln("cel" +celsious);

    }
    }

    ReplyDelete
  42. Ankita Verma

    class TestClass
    {
    String name, status,salary,doj,mobile,email;
    void display()
    {
    System.out.println("name is"+ name);
    System.out.println("status is" +status);
    System.out.println("email"+email);
    System.out.println("salary =" +salary);
    System.out.println("mobile"+mobile);
    System.out.println("doj"+doj);
    }
    public static void main(String args[])
    {
    TestClass obj=new TestClass();
    obj.name="Ankita";
    obj.status="employee";
    obj.email="ankitaverma.somy@gmail.com";
    obj.salary="Rs.20000";
    obj.mobile="9826145838";
    obj.doj="22/3/2021";
    obj. display();
    }
    }

    ReplyDelete
  43. Ankita Verma

    class M1
    {
    public static void main(String arg[])
    {
    long num=12345;

    long v=num%10;
    num=num/10;
    long w=num%10;
    num=num/10;
    long x=num%10;
    num=num/10;
    long y=num%10;
    num=num/10;
    long z=num%10;
    num=num/10;
    long rev=v*10000+w*1000+x*100+y*10+z*1;
    System.out.println(rev);

    long max=0;
    long smax=0;
    if(max<v)
    {
    max=v;
    System.out.println(max);
    smax=w;
    System.out.println(smax);
    }
    }
    }

    ReplyDelete
  44. class SiClass
    {
    public static void main(String args[])
    {
    double si;
    double p=2000;
    float r=5.5F;
    float t=8;
    si=(p*r*t)/100;
    System.out.println(si);
    }
    }

    ReplyDelete
  45. Ankita Verma

    class SiClass
    {
    public static void main(String args[])
    {
    double si;
    double p=2000;
    float r=5.5F;
    float t=8;
    si=(p*r*t)/100;
    System.out.println(si);
    }
    }

    ReplyDelete
  46. #program to reverse five digit number without using loop

    class ReverseNum
    {
    public static void main(String args[])
    {
    int num=67432;
    System.out.println("Actual number is "+num);
    int a,b,c,d,e,rev;
    a = num%10; //2
    num = num/10; //6743
    b=num%10; //3
    num= num/10; //674
    c = num%10; //4
    num = num/10; //67
    d = num%10; //7
    e = num/10; //6
    rev = a*10000+b*1000+c*100+d*10+e*1;
    System.out.println("Reverse is "+rev);


    }


    }

    ReplyDelete
  47. #program to calculate electricity bill
    class EBill
    {
    public static void main(String args[])
    {
    float uprice=12.2F,consumption=200,bill;
    bill = uprice*consumption;
    System.out.println("Total electricty bill is "+bill);

    }


    }

    ReplyDelete

Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post