DEV Community

Sathish K
Sathish K

Posted on

Primitive Data Type, class and object, OOPS in Java

*What is primitive datatype ? *
In Java, primitive data type is a fundamental building blocks storing and manipulating data values. They are the predefined langauage and are not considers the objects.

Types of primitive data types

  • bytes
  • short
  • int
  • long
  • float
  • double
  • char
  • boolean

What is OOPs in Java ?
OOP- Object Oriented Programming language
In Java is a programming paradigm based on the concept of objects,classes. It's aims is structure software program in a way of real world entities and their interaction, promoting code reusability,modularity and maintainability.

What is Class in Java ?
In Java, a class serves as a blueprint or a template for creating the objects. It is fundamental concept in OOP and define the structure and behavior that objects of that class will posses.

What the Object in Java ?
In Java , an object is a fundamental concept in OOP and represents a real-world entity or a component within a program.It is an instance of a class.

Top comments (0)