What is a class ?
Answers were Sorted based on User's Feedback
Class is a template for multiple objects with similar
features and is a blue print for objects.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / s.vamsi krishna
A class is defines the shape and behaviour of an object and
is a template for multiple objects with similar features.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rajkumar ksr college
A set, collection, group, or configuration containing
members regarded as having certain attributes or traits in
common; a kind or category.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / syambabu allu srkr engg colleg
CLASS IS A USER DEFINED DATA TYPE
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / uthrakumar-wipro technologies
class is known as a user defined datatype as structure in
c.similarly,class is a template and object is the instance
for that class....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
A class is a template with members and methods defined
| Is This Answer Correct ? | 0 Yes | 0 No |
What is module in project?
Explain the difference between extends thread vs implements runnable in java?
How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?
How do you do a line break in java?
What is the difference between a constructor and a method?
they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
2 Answers DNS, IPSR Solutions,
What is the differences between c++ and java? Explain
What if constructor is protected in java?
what is ABSTRACTION and what are using in real time project?
What is difference between throw and throws ?
What is the final variable?
What is the purpose of nested class in java?