Loading...
Skip to content

    • Home
    • JavaScript
    • Java
    • jQuery
    • CSS
    • React
    • Projects
    • Contact us
  • Recent Posts

    • What are the basic SQL Command ?
    • SQL introduction
    • What is flex property in CSS ?
    • Java Basic interview questions and answers for freshers .
    • What is Binary Number System and How Its work?
    • Position in CSS
    • How to create a Stopwatch in JavaScript?
    • What is JavaScript event ?
    • Creating simple music box with JavaScript
    • What is JSON ?
    • What is float in Java?
    • Difference between constant and variable in java
    • Difference between let and var in JavaScript?
    • What is a constructor in oop?
    • How to declare variable in JavaScript

    advertisement

Constructor

What is a constructor in oop?

What is a constructor in oop?

Posted on May 8, 2021May 8, 2021Java, Programming

In OOP(Object-oriented programming) constructor is a special method. It is called whenever you create an object using new keyword. Constrictor enables an object to initialize itself at the time of its creation without the need to make ...

Tweet
Share
Share
Pin
0 Shares
Read more ⟶
Proudly powered by WordPress - Copyright © 2020-2022 | Theme: MiNNaK by Tamer Mancar