Hi Friend. on Default Data type Values

Hi Friend. on Default Data type Values

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
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
data type
data type  which data type is used to store video file in mysql databse
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 in java
type. Default value is 0. long : long data type is 64-bit signed two's... value is +9,223,372,036,854,775,807.Default values is 0, this data type is used... to save memory in array and default value is 0.0f . double : double data type
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
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,ADS_TO_REPLACE_1 SERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
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 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...; +-------+---------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra
Mysql Alter Data Type
Mysql Alter Data Type       Mysql  Alter Date Type is used to modify or change the Column... +----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra
xcode 4 core data default error
xcode 4 core data default error  getting Core data default error.. what is it?   data: " error xcode
Data Conversion from int 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 int primitive type to another data type like String, boolean and char etc
Data Conversion from String 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 String primitive type to another data type like int, 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
Data Conversion from byte 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 byte 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 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
Java Data Types
;  Data type defines a set of permitted values on which the legal... types, which always hold the value of the same data type, and  the values...; The int data type is used to store the integer values not the fraction
ModuleNotFoundError: No module named 'data_type_tools'
ModuleNotFoundError: No module named 'data_type_tools'  Hi, My... named 'data_type_tools' How to remove the ModuleNotFoundError: No module named 'data_type_tools' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'algebraic-data-type'
ModuleNotFoundError: No module named 'algebraic-data-type'  Hi, My... named 'algebraic-data-type' How to remove the ModuleNotFoundError: No module named 'algebraic-data-type' error? Thanks   Hi
ModuleNotFoundError: No module named 'data_type_tools'
ModuleNotFoundError: No module named 'data_type_tools'  Hi, My... named 'data_type_tools' How to remove the ModuleNotFoundError: No module named 'data_type_tools' error? Thanks   Hi, In your python
C Array default values
C Array default values       In this section, you will learn how to set the default values... that sets the last values in the array to the default value. When the code
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
hi.......
for such a programme... plz help me...   Hi Friend, Try this: import java.awt.... into data(name,address) values('"+v1+"','"+v2...hi.......  i've a project on railway reservation... i need to connect
Hi
Hi   how to read collection obj from jsp to servlet and from jsp - jsp?   Hi Friend, Please visit the following link:ADS_TO_REPLACE_1 http://www.roseindia.net/jsp/servlet-jsp-data-list.shtml Thanks
PHP Integer Data Type
Learn PHP Integer Data type: In PHP integers can be decimal which is a normal... size of the integer data type is platform dependent. Usually the size of integer... be converted to float data type. PHP Integer Data Type Example:ADS_TO_REPLACE_2 <
getting int values from form and insert it in data base in jsp
getting int values from form and insert it in data base in jsp  how...=st.executeUpdate("insert into data(name,age, address) values('"+name+"',"+age...; Hi, You can get the parameter from the request object: String s
where are program instructions and data values stored
where are program instructions and data values stored  Where are program instructions and data values stored in Computer?   In Storage. Actually, whichever program and data we use in our computers are stored in Storage
hi
hi  what are the steps mandatory to develop a simple java program? what is default value for int type of local variable? what are the keywords available in simple HelloWorld program? Class is a blueprint of similiar objects(True
hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...="Content-Type" content="text/html; charset=windows-1252"/> <title>Office Conversion</title> <style type="text/css"> body
hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...="Content-Type" content="text/html; charset=windows-1252"/> <title>Office Conversion</title> <style type="text/css"> body
hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...="Content-Type" content="text/html; charset=windows-1252"/> <title>Office Conversion</title> <style type="text/css"> body
hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...="Content-Type" content="text/html; charset=windows-1252"/> <title>Office Conversion</title> <style type="text/css"> body
hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...="Content-Type" content="text/html; charset=windows-1252"/> <title>Office Conversion</title> <style type="text/css"> body
hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...="Content-Type" content="text/html; charset=windows-1252"/> <title>Office Conversion</title> <style type="text/css"> body

Ads