get paid to paste

java-tut-initializing-variables-char-literals-1

public class Beginner
{
   boolean booleanVar = true;
   byte byteVar = 100;
   short shortVar = 1000;
   int intVar = 1000000;
   long longVar = 10000;
   double doubleVar;
   float floatVar;
   char charVar = '\u0090';

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

   //more codes here later...


  }
}

Pasted: Nov 28, 2024, 8:16:04 am
Views: 11