+ 2
What does "instantiated" mean here? Create an object??
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.
+ 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.