Hi ! What is an instance and a object in a class in Java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi ! What is an instance and a object in a class in Java ?

4th Jul 2016, 8:23 AM
Aero Kira
Aero Kira - avatar
6 Answers
+ 6
Both object of a class and an instance of a class are one and the same. It is just two ways of saying the same thing.
5th Jul 2016, 4:52 AM
Goutham Iyyappan
Goutham Iyyappan - avatar
+ 1
hi . every class contain one or more object.. so .object is section of class ..good luck :)
4th Jul 2016, 9:11 AM
Mojtaba Kamal
Mojtaba Kamal - avatar
+ 1
Instance inside the class is data members & functions which are non static whereas object of the class determine its characteristics and properties...
4th Jul 2016, 4:23 PM
Ash Singhal
Ash Singhal - avatar
0
Thanks but I still am stuck with instance , could you help with that ? Thanks again !☺
4th Jul 2016, 9:27 AM
Aero Kira
Aero Kira - avatar
0
Thanks everyone!😃👍
5th Jul 2016, 2:45 PM
Aero Kira
Aero Kira - avatar
0
come to aptech charni road for more queries visit
6th Jul 2016, 9:59 AM
himanshu mehta
himanshu mehta - avatar