- Details
- Written by Nam Ha Minh
- Last Updated on 19 August 2019   |   Print Email
In Java, the class keyword is used to declare a class, for example:
class Person {
// properties...
// methods...
}
Class is a fundamental structure in object oriented programming. In this example, the class Person represents person in the real world.
See all Java keywords.
Related Topics:
Other Recommended Tutorials:
About the Author:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on
Facebook and watch
his Java videos you YouTube.