Createing Objects In Java

Createing Objects In Java

 Hi Guys. In our previous article we explained difference between private and public access modifiers. Today we will explain how to create a object in Java. 

       

        Student student1 = new student();

        Student student2 = new student();



I think you got clear idea about how to create objects in Java. In next article I will explain what is Abstraction in OOP concepts.

Good Day!


Post a Comment

Previous Post Next Post

Contact Form