1)What is primitive data type?
Primitive types start with a lowercase letter (like int),
All variables must first be declared before they can be used
Used for store and manipulating the data .
Primitive types in Java are predefined and built into the language, while non-primitive types are created by the programmer
Primitive data types are usually stored in the stack*[TBD]* memory
Primitive types cannot be null, which can help avoid [TBD] NullPointerException that can occur with object types
2) Why is string non primitive?
It’s a class it provides built in methods for text manipulation
Non-primitive data structures are typically stored in heap memory*[TBD]*
while non-primitive types typically starts with an uppercase letter (like String).
Primitive types always hold a value, whereas non-primitive types can be null.[TbD]
3)static keyword static int count = 0;
The static keyword in Java is mainly used for memory management. The static keyword in Java is used to share the [TBD] same variable or method of a given class.
Class-Level
mainly used for memory management.
Ex: static int count = 0; // Shared counter for all instances
4)non static keyword int count = 0;

int instanceVariable;
non-static" refers to members (variables or methods) that are not declared with the static keyword.
• These variables are declared without the static keyword and are associated with each object of a class. [TBD]