Computer Science, asked by Arurockzz, 1 year ago

what is class in Java and what it is composed of

Answers

Answered by hiramani7080
0
Class is a derived data type which contains both data and related methods together.It serves as a blueprint to create other objects.
Answered by nirajnagrale1994
7

A class, in the context of Java, are templates that are used to create objects, and to define object data types and methods. Core properties include the data types and methods that may be used by the object. All class objects should have the basic class properties.

Similar questions