Object Oriented Programming - JAVA - Object Generation , Data types, Parameters & Arguments
Object Oriented Programming (JAVA) 👽 There are many languages that follow the OOP concept. They all are based on objects. Java also a programming language that use the OOP concept. So we have to know, Object generation Method creation Variable creation Data types Parameters & arguments In this blog, we will discuss about object generation, data types and parameters & arguments. Object Generation An object in the Java programming language is a replica of a certain class, which is known as an instance of a Java class. A class object's actions and attributes are its fundamental components. When we create an object , we have to follow a structure. It has 4 characteristics. class reference variable name 'new' keyword class constructor Data Types Data types specify the different sizes and values that can be stored in the variable. There are two types of data types in java Primitive data types Non primitive data t...