+ 7

Pls anyone help me to understand the java concept or classes, interface's

27th Aug 2020, 12:00 PM
🌠Vishakha🌠
4 Réponses
+ 8
Vishu The interface is a way to achieve abstraction in JAVA. An interface can have methods and variables like class, but the methods of an interface are by default abstract. It means the interface can contain only an abstract method(Method without body). The interface is used when we want to achieve full abstraction.  https://javagoal.com/interface-in-java/ class is the basic concept of OOPs. A class is defined as a blueprint/prototype. You can create an individual object by use of a class. A class can represent the set of properties and methods they are common for all the objects of a class. In Java class, we define a pattern/blueprint which is followed by every object. Before moving further we must need to know what does java class consists? What’s the mean of blueprint here? Here is the blueprint print of java class that consists of a number of things. https://javagoal.com/class-and-object-in-java/#1
28th Aug 2020, 1:25 AM
Raina Dhankhar
Raina Dhankhar - avatar
+ 5
Yes you are right ~swim~brother i have started in my college classes so I know little bit but I am getting confused evrytime today I have started my learning on sololearn 😊😊
27th Aug 2020, 8:44 PM
🌠Vishakha🌠
+ 3
Read books you will understood much better or you can search on Youtube tutorials. If you know hindi then you can watch mysirji.com java tutorials on Youtube this will help you. https://www.tutorialspoint.com/java/java_interfaces.htm
27th Aug 2020, 12:10 PM
A S Raghuvanshi
A S Raghuvanshi - avatar