class in Java - class is a collection of similar type object. A class is a user defined data type with a template that screes to defined its properties.
Example -
class sample one
{
public static void main(string args[])
{
system.out.println("java is better than
c++");
}
}
}
Nice sir ji
ReplyDeleteNice sir ji
ReplyDeleteThank sir
ReplyDelete