BaşlayınÜcretsiz Başlayın

Printing as a calculator

Computers excel at performing calculations instantly. Rather than computing values by hand, you can let Java do the math for you and display the results. Let's see this in action!

Bu egzersiz

Introduction to Java

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Print the result of 1+3 to the output.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

class Calculator {
	public static void main(String[] args) {
    	// Print the result of 1+3
        System.out.println(____);
    }
}
Kodu Düzenle ve Çalıştır