Core Java - Interview Questions and Answers for 'Primitive data types' | Search Java 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 types' - 2 question(s) found - Order By Newest

 Q1. 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?
  What is the difference between final, finally and finalize() ?
  What are points to consider in terms of access modifier when we are overriding any method?
  What is the difference between Encapsulation and Abstraction?
  What are different ways of object creation in Java ?
 Explain OOPs

or

Explain OOPs Principles

or

Explain OOPs Concepts

or

Explain OOPs features

or

Tell me something about OOPs
  How can we run a java program without making any object?
 What is Polymorphism in Java ?
  Can we use both "this()" and "super()" in a constructor ?


 Q2. What are the different primitive data types in Java ?Core Java2017-01-28 15:14:23

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 ?
  What is Generalization and Specialization in terms of casting ?
 Why Java is not considered pure OOP's language ?
  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 ?



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: