WHAT ARE CLASSES IN JAVA | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

WHAT ARE CLASSES IN JAVA

I AM CONFUSED WITH THE USE OF CLASSES IN JAVA PLEASE HELP ME

19th Oct 2019, 7:13 AM
Madhur Sahay
3 Answers
+ 5
You just started he Java lesson. Please be patient and go through the course. Do you have any questions about a particular lesson? Which one? What is unclear?
19th Oct 2019, 7:55 AM
Tashi N
Tashi N - avatar
+ 7
Requesting admin access to keyboard... Request succeeded! Disabling CAPS LOCK... CAPS LOCK disabled!
19th Oct 2019, 7:58 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 7
In Java everything starts with a class definition. • The class keyword: class User { // class definition goes here } • Can declare variables and create instances (objects): User dev = new User(); • A class is made up of members: fields and methods. **You should follow For Beginners and how they progress with Java learning.👍
19th Oct 2019, 9:45 AM
Danijel Ivanović
Danijel Ivanović - avatar