What is difference between an object and a class?
Answer / Mukesh Kumar Anil
An Object is an instance of a Class. A Class is a blueprint or template for creating objects. In Java, a class defines a new data type. An object is created by invoking the class constructor using 'new' keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
How a string is stored in memory?
How an object is serialized in java?
Enlist diffrent types of inheritance supported by java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What is the purpose of file class?
What is a constructor overloading in java?
Can I overload to string method
when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?
What is the final keyword in java?
What happens if main method is not static?
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?
Is a string literal?