+ 2

What does "instantiated" mean here? Create an object??

14th May 2018, 5:07 AM
Mehdi
Mehdi - avatar
2 Respostas
+ 3
Instantiation is a process to create an object from a certain class, not so sure what "instantiated" here means, maybe you can post the full sentence that contain that word, context does matter.
14th May 2018, 5:16 AM
Ipang
+ 3
instantiated mean do 2 work with a single line of code.. for eq.. i give an example of anominous class. interface Myinterface { void show(); } class A { new Myinterface() { public void show() { System.out. println("hi"); } } public static void main(String...a) { } } anominous class instantiated. mean creat a class and return the reference id of object.
14th May 2018, 6:01 AM
Arun Tomar
Arun Tomar - avatar