day-13:



This content originally appeared on DEV Community and was authored by silambarasan rajendran

Datatypes:

Premite

public class Honda {

    int price;
    String brand;
    boolean fhd;

    public static void main(){
        Honda activa = new Honda();
        Honda dia = new Honda();

        activa.price = 35500;

        Honda2.price = 55435;
        Honda2.brand = "dell";

        System.out.println("Honda Price is:" + Honda1.price);

    }
}


This content originally appeared on DEV Community and was authored by silambarasan rajendran