Computer Science, asked by Dakshgautam4070, 9 months ago

Class objectname; What does it mean?

Answers

Answered by adarshtiwari20172
2

Answer:

public class ObjectName extends Object implements Comparable<ObjectName>, QueryExp. Represents the object name of an MBean, or a pattern that can match the names of several MBeans. Instances of this class are immutable. An instance of this class can be used to represent: An object name.

Explanation:

mark as brlient and follow me

Answered by Vyomsingh
1

Answer:

This syntax is used to make object of a class .

For example.

class ab

{

void k()

{

int s=1+2;

System.out.println(s);

}

void main()

{

ab obj=new ab();//CREATING OBJECT OF CLASS ab

obj=k();

}

}

Explanation:

FOR more questions follow me on insta.

hitesh_kumar_singh024

Similar questions