answersLogoWhite

0

A java.util.Date object will take about 32 bytes in memory.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

Is there any datatype for date in C plus plus?

Look into time_t in the time.h library


Write a UNIX command to display the current date in the form ddmmyyyy?

UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma


Types of data type?

A data type that can store integer numbers. The details vary depending on the programming language; many language have different integer types to accomodate different sizes. This lets the programmer use a smaller size (and save memory space) when he only needs to store fairly small numbers - and especially when he needs to store LOTS of fairly small numbers, as in an array. Common sizes include 1 byte, 2 bytes, 4 bytes and 8 bytes of storage.


How many bytes of date can be addressed by a computer system with an 11-bit address bus and an 8-bit data bus?

There can be one byte of data transferred at one time on the 8-bit data bus, but without knowing more about the architecture and the address and data bus multiplexing we cannot know how many bytes can be addressed.Perhaps the machine architecture uses 2 address bus cycles to send out a 16-bit address and 6-bits of control signals, then uses 2 data bus cycles to read or write the 16-bit word at that address, which would mean this computer system addressed two bytes at one time.Perhaps the machine architecture uses 3 address bus cycles to send out a 32-bit address and a 1-bit control signal, then uses 4 data bus cycles to read or write the 32-bit word at that address, which would mean this computer system addressed four bytes at one time.Perhaps the machine architecture uses 6 address bus cycles to send out a 64-bit address and 2-bits of control signals, then uses 8 data bus cycles to read or write the 64-bit word at that address, which would mean this computer system addressed eight bytes at one time.Perhaps the machine architecture has a variable word length (which could be specified in many different ways depending on the architecture), in which case almost any number of bytes could be addressed at one time (with different numbers of bytes in each addressing operation).There are many other possibilities.


What are the VB built in data types?

Visual Basic.net 2008 DatatypesData Type in Visual Basic.net 2008 defines the type of data a programming element should be assigned, how it should be stored and the number of bytes occupied by it.In VB.net 2008 all the variables by default are of Variant datatype was used for numeric, date, time and string data, but in VB.net 2008 Variant and Currencydatatypes are no longer available. Following are the common data types used in Visual Basic.Net 2008.Data TypeValue RangeByte0 to 255BooleanTrue or FalseChar0 to 65535DateJanuary 1, 0001 to December 31,9999Decimal+/-79,228,162,514,264,337,593,543,950,335 with no decimal point; +/-7.9228162514264337593543950335 with 28 place to right of decimal.Double-1.79769313486231E+308 to -4.94065645841247E-324 for negative values to 4.94065645842247E-324 to 1.79769313486231E+308 for positive values.Integer-2,147,483,648 to 2,147,483,647Long-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807ObjectAny type can be stored in a variable of type ObjectShort-32,768 to 32,767Single-3.402823 * 103 to -1.401298 * 10 45 for negative values 1.401298 * 10 -45 to 3.402823 * 10 38for positive valuesString0 to approximately 2 billion characters

Related Questions

What is the best datatype for storing your birthday?

in Unix: the datatype is "Date" in C++: the datatype is "char"


What is the best datatype for storing birthdays?

in Unix: the datatype is "Date" in C++: the datatype is "char"


How many bytes does oracle 9i use to store number datatype?

from <http://docs.oracle.com/cd/B19306_01/server.102/b14220/datatype.htm#i1847> Overview of DATE Datatype The DATE datatype stores point-in-time values (dates and times) in a table. The DATE datatype stores the year (including the century), the month, the day, the hours, the minutes, and the seconds (after midnight). Oracle can store dates in the Julian era, ranging from January 1, 4712 BCE through December 31, 4712 CE (Common Era, or 'AD'). Unless BCE ('BC' in the format mask) is specifically used, CE date entries are the default. Oracle uses its own internal format to store dates. Date data is stored in fixed-length fields of seven bytes each, corresponding to century, year, month, day, hour, minute, and second. The correct answer is 7 bytes for a date column.


Is the expiration date on Horlicks printed in the format ddmmyyyy or mmddyyyy It makes a difference especially when the dd is 12 and under.?

The countries in which Horlicks is distributed, such as the United Kingdom, tend to use the ddmmyyyy format. It stands to reason that the expiration dates of Horlicks labels use the ddmmyyyy format.


How many days are in September have a prime number date in 2006?

The answer depends on how the date is written: ddmmyy or ddmmyyyy or mmddyy or mmddyyyy


What is the next date with all 8 digits different in ddmmyyyy format?

17/06/2345


Is there any datatype for date in C plus plus?

Look into time_t in the time.h library


Write a UNIX command to display the current date in the form ddmmyyyy?

UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma


What does OA date means?

OA Date means a date stored on a computer in OLE Automation format. This format stores the date in 4 bytes and is used by a large array of Microsoft and other software on Windows.


How much is 1kg1mb?

The two cannot be compared. KG relates to weight MB relates to bytes of date. If you meant KB then 1024KB =1 MB


What date did Rome first occupy Jerusalem?

In 63 BCE general Pompey conquered Jerusalem and made the Jewish kingdom a client state of Rome.


What is a hard disk measured in?

it depends on the date of purchase. recent ones are measured in "gigabytes" (1024^3 bytes) but often they have gigabytes mean (1000^3) instead