What is Class?

asked 2018-12-24 18:07:41 +0800

preetiagarwal gravatar image preetiagarwal

All Java codes are defined in a class. A Class has variables and methods.

Variables are attributes which define the state of a class.

Methods are the place where the exact business logic has to be done. It contains a set of statements (or) instructions to satisfy the particular requirement.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2018-12-24 18:07:41 +0800

Seen: 4 times

Last updated: Dec 24 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More