answersLogoWhite

0


Best Answer

method is a process

property is about it.

please check the answer from others also. because its only my guess.

SORRY

THANK YOU

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

A class is the definition of a type from which objects can be instantiated and/or derived from. An object is a specific instance of a class. A method is a class member function.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is diff between method and class?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the distinction between a world-level method and a class-level method?

a class level deals with a single object in a particularly group but the world-level method deals with more than one object in a particular group.


What is the purpose of method overriding?

Assuming class A has a method named getXXX() and class B is a sub class of class A. Now, if we write a method with the same name getXXX() in class B, with exactly the same signature as class A, it is called overriding a method. The method getXXX() in class A becomes the overridden method.


What is the difference between an attribute and a behavior in c plus plus?

An attribute is a class member variable while a behaviour is a class member method.


Does Every class has a toString method and an equals method inherited from the Object class?

Yes - in Java, every class has this method, which is inherited from the Object class. Often, the inherited method does nothing particularly useful, but you can override it with your own implementation.


What is function overriding in Java?

Method overriding is similar to method overloading, with a small difference. In overriding, a method in a parent class is overridden in the child class. The method in the child class will have the same signature as that of the parent class. Since the method in the child class has the same signature & name as the method of its parent class, it is termed as overriding. In situations where you may have to explicitly call the parent class method you can use the "super" keyword and for explicitly calling the current objects method you can use the "this" keyword.

Related questions

How do you remove commodore holden vs diff?

on the ground, what is the safe method to drop diff from 1996 statesman


Difference between inheriting a method and overriding?

Inheriting a method means - a class is able to use a method that is declared in its parent class. Because of inheritance we need not re-declare the method in the child class again but still use it as it is. Overriding means re-declaring a method that is already available in the parent class in the child class to alter its features as per the requirement in the child class.


How do you use the supposition method in math?

Eg. 40 chickens and goats. Assume all are chickens Diff from target ... Individual diff ... No. of goats


Does have girls and guys in a diff class effect how they work?

I would agree with that.


What is the distinction between a world-level method and a class-level method?

a class level deals with a single object in a particularly group but the world-level method deals with more than one object in a particular group.


What is the purpose of method overriding?

Assuming class A has a method named getXXX() and class B is a sub class of class A. Now, if we write a method with the same name getXXX() in class B, with exactly the same signature as class A, it is called overriding a method. The method getXXX() in class A becomes the overridden method.


What is a class and method?

A class is the definition of a type, from which objects can be instantiated. A method is a function of a class.


What is a class method?

A class is the definition of a type, from which objects can be instantiated. A method is a function of a class.


How do you write concrete method inside abstract class?

There is no difference with method declaration and implementation between abstract and non-abstract classes. You do the exact same thing when writing a concrete method in either an abstract or non-abstract class.


What happen if Private is applied to a method in a class?

The method is only accessible to the class and friends of the class.


Diff between 8086 and 8051?

35


What is the difference between an attribute and a behavior in c plus plus?

An attribute is a class member variable while a behaviour is a class member method.