Advertisement
Nairo05

Untitled

Apr 10th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. //Abfragen
  2. package com.nichtsroffler.test;
  3.  
  4. public class Main {
  5.  
  6.     public static void main(String[] args ) {
  7.        
  8.         int a = 2;
  9.    
  10.         if(a==2) {
  11.             System.out.println( "a ist 2" );
  12.         } else {
  13.             System.out.println( "a ist nicht 2" );
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement