+ 2

What's a Class in java

3rd Dec 2016, 5:39 PM
Ntirpang Louis
Ntirpang Louis - avatar
4 Answers
+ 9
Imagine your cellphone as the class and the the methods will be the cellphone functions. So stating what a class is it will be the phone itself. So any thing your cellphone will be able to do will be withing the methods that's stored inside your class.
3rd Dec 2016, 5:55 PM
Josias Oberholster
Josias Oberholster - avatar
0
A class is nothing but a blueprint or a template for creating different objectswhich defines its properties and behaviors. Java class objects exhibit the properties and behaviors defined by its class. A class can contain fields and methods to describe the behavior of an object.
3rd Dec 2016, 10:13 PM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
my labtop problem
4th Dec 2016, 10:45 AM
karthik
0
help me
4th Dec 2016, 10:45 AM
karthik