what is difference between class and object?
Answers were Sorted based on User's Feedback
Answer / ravikiran
class is the template for members and methods
Object is the physical reality to access the members and
methods
| Is This Answer Correct ? | 31 Yes | 40 No |
Answer / talha ameer
Class is an idea which is we think in our mind after we
create its oject which is consist on coding.
| Is This Answer Correct ? | 4 Yes | 18 No |
Answer / ekta choudhary
ex of class is fruit mango
ex of object is car .
| Is This Answer Correct ? | 5 Yes | 27 No |
1).what is the difference between below examples String s="vijay"; String s=new String("vijay");
12 Answers Mascon, Satyam, TCS,
What is the function of http?
Explain about Superclass and Subclass?
int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c;
What is the method used to get the absolute value of a number?
What is array pointers ?
What is string builder in java?
What is the map interface in java programming?
How can you say java is object oriented?
Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?
Explain spliterator in java8?
Can you override a private or static method in java?