Java Data Type Q&A Questions and Answers

Home
Java Data Type Q&A
1.bigdecimal
2.biginteger
3.bit
4.Boolean
5.byte
6.Calendar
7.cast
8.character
9.Date Time
10.Date Time Format
11.decimal
12.Development
13.double
14.enum
15.float
16.hexadecimal
17.Integer
18.Number
19.Number Format
20.primitive
21.SimpleDateFormat
22.string
23.StringBuffer
24.StringBuilder
25.StringTokenizer
26.substring
27.TimeZone
Java Data Type Q&A 




bigdecimal
alternativeArithmeticExceptionbigdecimalc convertcurrency
decimaldigitdividedoubleEncodingequal
exceptionFinancialfloatformatlogarithmLong
mathMathContextmemorymoneyoptimizationparse
powerprecisionRootroundscalescientific
StringstripTrailingZeroestrailtrimvalueofzero
biginteger
BigDecimalbigintegerbitbyteconvertcryptography
digitencryptformatlongmathoverflow
powpowerprimerandomrootsign
squareStringtoByteArrayvalueOf
bit
128 bit16 bit24 bit32 Bit64 bit 164 bit 2
64 bit JVM64 bit OSAESasciibinarybit 1
bit 2bitwisebufferedimagec characterConvert
cryptographyencryptenumexceptionheximage
longmanipulationmaskmathmemoryNegative Number
operationoperatorPatternpixelPrimitiveshift
signsizetiffZipException
Boolean
assignmentautoboxbeanutilsbitbitwiseBoolean 1
Boolean 2CastCharconditionconvertequal
errorexceptionexpressionfalsegetBooleaninverse
JavaBeanlogicloopmemorymethodobject
operatorparameterreflectionreturnsizestatement
switchtruevaluevariablevolatilewrapper
byte
audiobinarybitbitwisebufferBufferedImage
byte 1byte 2byte 3bytearraybytecodeCast
charactercompareconvert 1convert 2decryptencoding
encryptfilewriterheximagejnijprofiler
JVMlimitLiterallongmemoryoffset
orderOutOfMemoryErrorparserandomrangeread
sequenceshortsignsizesplitstream
unicodeutf8wrapper
Calendar
addbeforeCalendar 1Calendar 2Calendar 3compare
convertdate 1date 2dayDSTgetInstance
getTimeGregorianGregorianCalendarlocaleMonthschedule
Stringtimetimezoneutilweekyear
cast
autoboxAutomaticc cast 1cast 2child
ClasscompilerconvertDefaultListModelDowncastDynamic
entityerrorExceptionExplicitextendgraphics
graphics2dgsonimplicitinstanceofjnijruby
jvmListlongmemorymethodnull
objectoopoperationoperatorparseprecision
primitiveproblemquestionreflectionruntimesafe
signstatementtypeuncheckedvariablewarn
character
ArabicasciiBackspacebinarybitbufferedreader
byteC carriagechar 1char 2char 3
character 1character 2character 3character 4character 5charset
checkChinesecompareconsoleconvert 1convert 2
countDecimalFormatdecodedisplayEncodeencoding
encryptenglishequalescapeFontFormat
FrenchGeneratorhexhtmlIllegalimage
inputintellijinternationalizationinvalidisLetterjapanese
jnijsonletterliteralloopmultibyte
newlinenumberoperatorparsepasswordPattern
pdfprimitiveprintrandomreadRecognition
removereplace 1replace 2resourcebundlescannersearch
sizeslashspaceSpanishspecialsplit
streamTabtextTypeunicodeutf
utf8valuevariablewhitespaceWildcardword
write
Date Time
addcalculatecalculationcalendercompare 1compare 2
Convert 1Convert 2currentdate 1date 2date 3
date 4date 5date 6date 7date 8date 9
datetime 1datetime 2DAYDaylightdifferencedst
excelfindFormat 1Format 2Format 3Format 4
Format 5GMTGregorianhourjodatimelist
localemillisecondsmonthparse 1parse 2query
rangescheduleSortStringtime 1time 2
timestamp 1timestamp 2typeUnparseableUTCvalidation
WEEKYEAR
Date Time Format
capitalizeconvertDate Time Formatdatedatetimeday
Excelformatjodatimelocalelocalizationmonth
parseParseExceptionPatternstrftimeStringText
timetimezoneyear
decimal
Asciibinarybitbytecharactercomma
convert 1convert 2currencydecimalDecimalFormatdecode
digitdividedoubleexpansionexponentialfloat
formatfractionhexhexadecimallengthlocale
longmathnumberformatoctaloutputplace
pointprecisionrestrictroundscientificseparator
stringTrimvalue
Development
base64equal 1equal 2Exception 1Exception 2format 1
format 2format 3getResourceAsStreamImageIOinitializationjson
mathvalidation
double
addbufferbytecalculationcastcharacter
compareconvertdivideFormatlongmath
moneynumberparseparseDoubleprecisionround
subtractionvaluevariable
enum
Annotationc classComparecompileConvert
declareelementenum 1enum 2enum 3enum 4
enumerationEnumSetequalerrorextendfield
functioninstancekeywordloopmembermethod
nestnumberobjectordinalpackageParameter
parsePatternproblemPropertyreferencereflection
scjpsingletonStatementSwitchtypeUsage
valuevalueOfvariable
float
accuracyarithmeticaudiobinarybytec
Castclojurecompareconvertcurrencydecimalformat
dividedoubleerrorexceptionfloat 1float 2
floatToIntBitsformatieee754imagejniliteral
longmathNANnumberoperatorparseFloat
precisionprimitiveprintfRandomroundswt
unionvaluevariable
hexadecimal
asciiBase64binaryColorconvertDecode
encodingEscapeformathexhexadecimalRGB
syntaxUnicodevalue
Integer
autoboxbigdecimalBigIntegerbinarybitbitwise
booleanbyteCastcharcharactercompare
consoleconvert 1convert 2cryptographydecimaldigit
dividedoubleelementenumequalerror
floatformathexinputInteger 1Integer 2
Integer 3Integer 4Integer 5lengthliteralLong
loopmathmemorynegativenumberodd
operatoroutputoverflowparameterparseparseint
primitiveprintlnpublicrandomrangereverse
RoundScannershortsignsizeSort
splitstring 1string 2sumswaptoo large
uniquevalidationvaluevalueOfvariablewrapper
zero
Number
Big numberbinarycalculateConvertCount numberfactorial number
gameinput numberLarge Numberline numberlongloop
magicmaximumnegative NumberoctalPage Numberphone number
prime numberRandom Number 1Random Number 2Random Number 3Random Number 4Random
readrevisionsequenceSerial NumbersmallSort
sumtextunique Numbervariableversion number
Number Format
commaConvertcountrycurrencydigitlocal
localelocalizationmoneyNotationnumber format 1number format 2
numberformatNumberFormatException 1NumberFormatException 2numericPatternphone
Scientificsignvalidation
primitive
anonymousautoboxboxingc Checkconvert
equalfieldimmutableinstanceofmemorynull
Parameterprimitive 1primitive 2referencereflectionsign
swapvaluevariablewrapper
SimpleDateFormat
convertdatedateformatdatetimedaydd
FormatGMTlocalemonthparsepattern
PMSimpleDateFormatssstringtimetimezone
string
appendargsbinaryBufferc case
charAtcheck 1check 2colorcompare 1compare 2
comparisioncompileconcatconcatenateconcatenationcontain
convert 1convert 2Countdeclaredecodedecrypt
differencedisplaydrawStringemptyencodeencoding
encrypterrorEscapeexpressionextractfind
fonthtmlimageimmutableindexindexOf
Insertinternjapanesejnilengthletter
lineListLiteralLongloopmanipulation
matchmemoryMessageFormatnewlinenulloperator
orderpaddingparse 1parse 2passPattern
permutationPoolprintquotereadreflection
removereplace 1replace 2replaceAllreplaceFirstreverse
scannersearchsentencesizeSortspace
Split 1Split 2Split 3Split 4streamString 1
String 10String 11String 12String 13String 14String 15
String 16String 17String 18String 19String 2String 20
String 21String 3String 4String 5String 6String 7
String 8String 9StringIndexOutOfBoundsExceptionswitchtexttrim
unicodeutfvalue 1value 2valueOfvariable
whitespaceword
StringBuffer
appendcapacitycompareconcatenationcontentconvert
deleteCharAtefficiencyendfinalinstancelength
memorynewOutOfMemoryErrorparsereplacesetCharAt
sizestartStringBuffer 1StringBuffer 2stringwritertext
StringBuilder
appendcapacitycompareconcatenationcontentefficiency
finalmemoryOutOfMemoryErrorreplaceStringBuilder
StringTokenizer
delimiterERRORlinenextTokennullread
ScannerSortsplitStringTokenizer 1StringTokenizer 2StringTokenizer 3
tokenword
substring
endIndexerrorextractfindindexIndexOf
matchmemoryrangeReplacesearchsplit
substring 1substring 2word
TimeZone
convertcountrydatedatetimedaylight savingsdefault
dstESTformatgetDefaultgetTimeZonegmt
GregorianCalendarhourJodajodatimelocaleparse
PSTsystemTimetimestampTimeZone 1TimeZone 2
UTC
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.