Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Hi Friend. on Default Data type Values

Have Programming Question? Ask it here!
 
 
 


SakthiPrabhu.g
Hi Friend. on Default Data type Values
1 Answer(s)      5 years and 8 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
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
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
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 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
PHP Integer Data Type
Learn PHP Integer Data type: In PHP integers can be decimal which is a normal... data type is platform dependent. Usually the size of integer is 2 million in 32... type. PHP Integer Data Type Example: <?php $a=12; echo"
Data Type: number
Data Type: number       This Example shows you how to use number data type in velocity. Methods used in this example are described below:-  1:- Initialize velocity run
Data Type: String
Data Type: String       This Example shows you how to use string data type in velocity. ...: Display string data type variable.   DataTypeString.java
Java Data Types
). This data type is generally the default choice for decimal values. The ...;  Data type defines a set of permitted values on which the legal... always hold the value of the same data type, and  the values
data type used to store name.(getting an error)
data type used to store name.(getting an error)    Statement stm=con.createStatement(); String query="select * from employee where ename=\'"+ename+"\'"; ResultSet rs=stm.executeQuery(query
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   how to read collection obj from jsp to servlet and from jsp - jsp?   Hi Friend, Please visit the following link: http://www.roseindia.net/jsp/servlet-jsp-data-list.shtml Thanks
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
Conversion from string data type into different data types.
Conversion from string data type into different data types.  string str="World id Beutifull"; char chr[20]; char* chrctr ; Qustion is -How to store the 'str' value in 'chr' and 'chrctr'? int abc; sprintf(abc ,"%s",str
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
Identify Excel's cell data type
Identify Excel's cell data type In this section, you will learn how you can identify cell's data type and handle it appropriately using Apache POI. In Apache POI library, for fetching each type of data, there is separate
displaying data based on criteria from 2 tables having same type of data - Java Beginners
displaying data based on criteria from 2 tables having same type of data ... thanks.   Hi Friend, You can use jsp or servlet or both. We have... what is the type of tutors they are looking for - e.g. budget, type of tutors
HI.
HI.  hi,plz send me the code for me using search button bind the data from data base in dropdownlist
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
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
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
Advertisements
 

 

 

DMCA.com