Write a Java program to print an int, a double and a char on screen.

Răspuns :

class WhatNameYouWant {

public static void main(String[] args) {

int a = 5;

double b = 5.22;

char c = "z";

System.out.println(a);

System.out.println(b);

System.out.println(c);

}

}//hope i helped you.

Ask Alte intrebari