0% found this document useful (0 votes)
16 views1 page

Primitive Datatypes

sfsfsfsf

Uploaded by

ksai.mb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

Primitive Datatypes

sfsfsfsf

Uploaded by

ksai.mb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

class Primitive

{
static byte b;
static short s;
static int i;
static long l;
static float f;
static double d;
static char c;
static boolean n;
public static void main(String args[])
{
System.out.println("The default value of byte="+b);
System.out.println("The default value of short="+s);
System.out.println("The default value of int="+i);
System.out.println("The default value of long="+l);
System.out.println("The default value of float="+f);
System.out.println("The default value of double="+d);
System.out.println("The default value of char="+c);
System.out.println("The default value of boolean="+n);
}
}

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy