Let's Make Things Better

Java Initialize Variable Test

public class TMotaibi1989 
{

    public static void main(String[] args) 
	{
		int x ;
		if(true)
		{
			x = 5;
			System.out.println(x);
		}
		
    }

}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.