GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 105 of 921    Print  
Name the eight primitive Java types.The eight primitive types are byte, char, short, int, long, float, double, and boolean.

  
Total Answers and Comments: 1 Last Update: August 25, 2004   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 02, 2007 05:10:47   #1  
sujatham Member Since: January 2006   Contribution: 142    

RE: Name the eight primitive Java types.The eight prim...
byte, short, int, long, boolean, float and double.
 
Is this answer useful? Yes | No

 Related Questions

It uses those low order bytes of the result that can fit into the size of the type allowed bythe operation. 
Latest Answer : In java there is no point of overflow and underflow, it was there in C. For avoiding that java introduces type casting. Java will allow some more space from the defult space of primtive type. ...

The EventObject class and the EventListener interface support event processing. 
Latest Answer : Java.util.Event class ...

Wrapped classes are classes that allow primitive types to be accessed as objects. 
Latest Answer : Wrapped classes are used to Primative data types as an Object.EX: int val1; val=10;        val=new Integer(); ...

A native method is a method that is implemented in a language other than Java. 
Latest Answer : Informs the compiler that the method has been used in a non-java platform and used only with the methods. ...

The java.awt.AWTEvent class is the highest-level class in the AWT event-classhierarchy. 

The range of the short type is -(2^15) to 2^15 - 1. 
Latest Answer : 2 bytes, signed (two's complement), -32,768 to 32,767 ...

The range of the char type is 0 to 2^16 - 1. 
Latest Answer : char is unsigned so its minimum value is 0. It can't be negative. ...

Most of the AWT-related events of the event-delegation model are defined in thejava.awt.event package. The AWTEvent class is defined in the java.awt package. 

If an expression involving the Boolean & operator is evaluated, both operands areevaluated. Then the & operator is applied to the operand. When an expression involvingthe && operator is evaluated, the 
Latest Answer : & -> for bitwise operation&&-> for logical comparison ...

The purpose of the Runtime class is to provide access to the Java runtime system. 
Latest Answer : Which returns the runtime information like memory availablilityRuntime.freeMemory() --> Returns JVM Free MemoryRuntime.maxMemory() --> Returns the maximum amount of memory that the JVM will attempt to use.also helps to run the garbage collectorRuntime.gc() ...


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

jQuery - Sorting Other Types of Data

Learning jQuery Sorting Other Types of Data Our sort routine should be able to handle not just the Title and Author columns but the Publish Dates and Price as well Since we streamlined our comparator function it can handle all kinds of data but the computed keys will need to be adjusted for other da
 

EDI Document Types

EDI Document Types EDI documents come in various forms each of which can appear differently depending on the company’ s internal computer system Also while each standard has code specificity each order may look very different a clothes company will send details of color and sizes while a f
 

Listening Skills - Types of Bad Listeners

Types of Bad Listeners What are the main types of bad listeners You might find in your work environment that some individuals are simply not very good at listening This can create a myriad of problems and make the performance of the most mundane day to day tasks nearly impossible to accomplish mosgo
 

C++ Function Passing Types

C Function Passing Types In this C tutorial you will learn about function passing types two types of arguments passing in functions passed by value  and  passed by reference are discussed here mosgoogle center The arguments passed to a function can be performed in two ways Passed
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

Convert a String into Long Value

What string function is used to convert a string into long value? This is done by using the function named as atol() . This function atol() is present in the header file named as <stdlib.h>. When programmers use this function they must include the header file by the statement
 

Types of Resumes and When to Use Them

Resumes are written to give our future employers an insight of who we are and why we should hire them. But resumes are more than just a collection of FYIs about you, it should be written in a way that highlights important things about yourself. Take note that you are not altering any information jus
 

SQL Data Types

SQL Data Types Overview In SQL, as in many other programming languages, every piece of data has a particular type. For example, 11 is an integer, and “Wall Street” is a text string. The SQL standard defines many data types to accommodate almost any type of data. Some cases aris
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape