get paid to paste

java-tut-initializing-variables-data-types-2

public class Beginner
{
   boolean booleanVar = true;
   byte byteVar = 100;
   short shortVar = 1000;
   int intVar = 1000000;
   long longVar = 10000;
   //more codes here later...

  public static void main(String[] args)
  {
    Beginner beginner;
    beginner = new Beginner();

   //more codes here later...


  }
}

Pasted: Nov 28, 2024, 8:12:40 am
Views: 12