SakthiPrabhu.g
Hi Friend. on Default Data type Values
1 Answer(s)      6 years and 7 months ago
Posted in : Java Beginners
Advertisement
View Answers

December 23, 2008 at 4:43 AM


Hi friend,

Code to solve the problem :

import java.io.*;
class Apple
{
static int a;
static float b;
static char e;
static String c;
public static void main(String args[])
{


System.out.println(+a);
System.out.println("b="+b);
System.out.println("c="+c);
System.out.println("e="+e);
}
}

Thanks









Related Tutorials/Questions & Answers:
Hi Friend. on Default Data type Values - Java Beginners
Hi Friend. on Default Data type Values  Hi ... I have doubt on Default Data types... Is it Possible to print the Dafault Values..If it s so, Check this code..How to Print d Default Values
hi friend
hi friend   what is code for ``find no of days difference in the date of birth of two students using inner class in java
Advertisements
hi friend
hi friend   what is code for ``find no of days difference in the date of birth of two students using inner class in java
hi friend
hi friend   what is code for ``find no of days difference in the date of birth of two students using inner class in java
hi Friend... - Java Beginners
hi Friend...  Hi friend... I have to import only... plz Explain this...Thank u.. Sakthi   Hi friend, Java IO... of System. out. it is the static member of the System class of type
Hi Friend... - Java Beginners
Hi Friend...  import java.util.*; // PACKAGES WHAT DOES IT MEAN ... --------------------------------------------------------- IpImage ip1... IS IT?   Hi friend, IpImage ip1=(IpImage)obj; // CREATION
hi friend - Java Beginners
hi friend  ummm i want to know a java code ...what are the code if i want to display inverted pyramid(shape). i mean a pyramid is reversed down.... thank u friends!!!  Hi friend, Inverted pyramid code class
Hi Friend.. Doubt on + - Java Beginners
Hi Friend.. Doubt on +   Hi friend... import java.io.*; class Plus { public static void main(String args[]) { int a=10; int b= 25... } }   Hi friend, The Java language provides special support
Hi Friend.. Doubt on + - Java Beginners
Hi Friend.. Doubt on +   Hi friend... import java.io.*; class Plus { public static void main(String args[]) { int a=10; int b= 25... } }   Hi friend, import java.io.*; class Plus{ public static
Hi Friend..IS IT POSSIBLE? - Java Beginners
Hi Friend..IS IT POSSIBLE?  Hi Friend...Thank u for ur valuable response.. IS IT POSSIBLE FOR US? I need to display the total Number od days by Each month... WAIT I WILL SHOW THE OUTPUT
Default Values
Default Values The elements which do not have any children can have default values. Default values are assigned automatically if no value is supplied..., the default value is ignored. For example, type is the element which
Hi Friend ..Doubt on Exceptions - Java Beginners
Hi Friend ..Doubt on Exceptions  Hi Friend... Can u please send some Example program for Exceptions.. I want program for ArrayIndexOutOfbounds OverFlow Exception.. Thanks... Sakthi  Hi friend, Code
data type
data type  what are the date types in the java and vb.net? what is the difference between java and vb.net?   Hi Friend, java data types... vb.net data types are: Byte SByte Short UShort Integer UInteger Long ULong
data type
data type  which data type is used to store video file in mysql databse
Hi Friend...Doubt on Uni Cast & Multi Cast - Java Beginners
Hi Friend...Doubt on Uni Cast & Multi Cast  Hi Friend.. Can u plz send some Details about the Uni CAst & Multi cast in JAVA...  Hi... once it's on the network Thanks  Hi friend, Unicast means
Find Default ResultSet Type Example
Find Default ResultSet Type Example: We are discuss about to find out Default... Type so you can find out the default ResultSet type using this example. We... that display the default ResultSet type. Program output: Download source code
xcode 4 core data default error
xcode 4 core data default error  getting Core data default error.. what is it?   data: " error xcode
Data type in java
in large array. Default value is 0. int : int data type is 32-bit signed two's... is +2,147,483647, it is used to as default data type. Default value is 0. long... is +9,223,372,036,854,775,807.Default values is 0, this data type is used when more than int range
alter data type
alter data type  alter data type of subName column for subject table to varchar(40
Enum data type
Enum data type  How can we use enum data type in java program?  ... data type. Here we have defined Fruits as enum type by using the enum keyword. Now... data type. Here we have defined Fruits as enum type by using the enum keyword. Now
SERIAL data type
SERIAL data type   hello, What is SERIAL data type in MySQL?   hii, SERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
MySQL Boolean Data Type
MySQL Boolean Data Type This example illustrates how create a boolean data type. In this example we create a table 't' where define four field... | Type | Null | Key | Default | Extra
array accept all data type
array accept all data type  how can create array that accept all data type??? if we can solution it? how..   Hi Friend, Try the following code: import java.lang.reflect.*; class CreateArrayOfAllTypes{ public
array accept all data type
array accept all data type  how can create array that accept all data type??? if we can solution it? how..   Hi Friend, Try the following code: import java.lang.reflect.*; class CreateArrayOfAllTypes{ public
Mysql Alter Data Type
Mysql Alter Data Type      ...; +----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra...; +----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra
C Array default values
C Array default values       In this section, you will learn how to set the default values...;the last values in the array to the default value. When the code is run, the pre
Modify Data Type with ALTER Command
Modify Data Type with ALTER Command  Is it possible to modify the Data type of a column which has at least one data in it?If it is possible,then what will happen to the data in the column? Example. Table Name: Emp EmpName
Data Conversion from double to another type
Data conversion is the conversion of data from one type to another type. In this section we will learn about data conversion from double primitive type to another data type like String, boolean and char etc
Data Conversion from long to another type
Data conversion is the conversion of data from one type to another type. In this section we will learn about data conversion from long primitive type to another data type like String, boolean and char etc
Data Conversion from float to another type
Data conversion is the conversion of data from one type to another type. In this section we will learn about data conversion from float primitive type to another data type like String, boolean and char etc
Data Conversion from short to another type
Data conversion is the conversion of data from one type to another type. In this section we will learn about data conversion from short primitive type to another data type like String, boolean and char etc