Posts

Showing posts from December, 2023

Foundation For Object Generation , Data Types , Parameter & Arguments in OOP

Image
  Foundation For Object Oriented Programming(Java) Object Generating In Java First we want to know about what is an object in Java.      Object can be define as data field that has unique attributes and behaviors.  Objects can correspond to real-world objects or an abstract entity. Why We Need  Object In Java? It makes it possible to use the concepts of object-oriented programming (OOP). Code can thus be arranged into reusable parts, which facilitates code reusability, scalability, and maintenance. How To Generate Object In Java? We can create any number of objects(no limit). Using " new " keyword, class reference and class constructor  we can generate a new object.  Data Types            In computer programming, a data type is a classification that indicates the kind of value that may be stored in a variable or the type of data that can be returned by a specific expression. Programming languages are based on data typ...

OOP key points

Image
Key Points Of Object Oriented Programming (OOP) Object Oriented Programming:- It is a computer programming model based on object. We can use it in various programming languages to develop a program.  Building Blocks of OOP Object:-             Object can be define as data field that has unique attributes and behaviors.              Objects can correspond to real-world objects or an abstract entity.      2.Class:-              Class  is a sketch used to implement an object at the programming level.               And also we an define class as "A template that can keep the things what we need".   3.Method:-                A method in OOP is a block of code that, when called, performs specific actions mentioned in it.    4.Variable:- ...