|
INTERVIEW QUESTIONS
J2EE
JAVA
DETAILS
Question: Name the eight primitive Java types?
Answer: The eight primitive types are byte, char, short, int, long, float, double, and boolean.
|
|
|
Category |
Java Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 8462 users |
Added on |
10/13/2009 |
Views |
75852 |
Rate it! |
|
|
Question:
Name the eight primitive Java types?
Answer:
The eight primitive types are byte, char, short, int, long, float, double, and boolean. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Which class should you use to obtain design information about an object?
|
View Answer
|
|
What is the relationship between clipping and repainting?
|
View Answer
|
|
Is "abc" a primitive value?
|
View Answer
|
|
What is the relationship between an event-listener interface and an event adapterclass?
|
View Answer
|
|
What restrictions are placed on the values of each case of a switch statement?
|
View Answer
|
|
What modifiers may be used with an interface declaration?
|
View Answer
|
|
Is a class a subclass of itself?
|
View Answer
|
|
What is the highest-level event class of the event-delegation model?
|
View Answer
|
|
What event results from the clicking of a button?
|
View Answer
|
|
How can a GUI component handle its own events?
|
View Answer
|
|
What is the difference between a while statement and a do statement?
|
View Answer
|
|
How are the elements of a GridBagLayout organized?
|
View Answer
|
|
What advantage do Java's layout managers provide over traditional windowingsystems?
|
View Answer
|
|
What is the Collection interface?
|
View Answer
|
|
What modifiers can be used with a local inner class?
|
View Answer
|
|
What is the difference between static and non-static variables?
|
View Answer
|
|
What is the difference between the paint() and repaint() methods?
|
View Answer
|
|
What is the purpose of the File class?
|
View Answer
|
|
Can an exception be rethrown?
|
View Answer
|
|
Which Math method is used to calculate the absolute value of a number?
|
View Answer
|