Core Java - Interview Questions and Answers for 'Primitive data type' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Primitive data type' - 2 question(s) found - Order By Rating

 Q1. What are the different primitive data types in Java ?Core Java
Ans. boolean
byte
char
double
float
int
long
short
void

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     data types  primitive data types     Asked in 1 Companies      Basic


Related Questions

  What is casting?
  What are the Wrapper classes available for primitive types ?
  What are wrapper classes ?
 Why Java is not considered pure OOP's language ?
  What is Generalization and Specialization in terms of casting ?
  Which data types are supported by JSON ?
  What are the default or implicitly assigned values for data types in java ?
  What is the difference between float and double?
 How do you prefer to store money values in your application ?
  Difference between long.Class and Long.TYPE ?


 Q2. Why Java is not considered pure OOP's language ?Core Java
Ans. There are 2 reasons for it.

1. Usage of Primitive types - Though Java provides classes for the primitive data types but as the usage of primitives is permissible, its considered unpure OOP's language.

2. Usage of Static members - Static members belong to the class and not objects and hence not considered fit for pure OOP's programming.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     oops  object oriented programming  object oriented language  primitive data types     Asked in 2 Companies


Related Questions

  Why is String immutable in Java ?
  What are the difference between composition and inheritance in Java?
 Explain OOPs

or

Explain OOPs Principles

or

Explain OOPs Concepts

or

Explain OOPs features

or

Tell me something about OOPs
  What is the difference between final, finally and finalize() ?
  What is the difference between Encapsulation and Abstraction?
  What are different ways of object creation in Java ?
  How can we run a java program without making any object?
  What are points to consider in terms of access modifier when we are overriding any method?
 What is Polymorphism in Java ?
  What is a String Pool ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: