what is difference between class and object?
Answer Posted / devarathnam c,kotagudibanda(po
Hi... Class is a blue print of an object,which is non-live
entity.
Object is instance of class,which is a live entity.
example: Employee is a class
Fruit is a class
but
DEVARATHNAM is an object
ROSE is an object
| Is This Answer Correct ? | 99 Yes | 39 No |
Post New Answer View All Answers
Is char a method in java?
What is oop in java?
What is the java reflection api? Why it’s so important to have?
What are features of java?
What does snprintf return?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
What is the difference between class & object?
Can a top level class be private or protected?
when you will synchronize a piece of your code? : Java thread
Explain the different forms of polymorphism?
What is the difference between superclass and subclass?
What is "this" keyword in java? Explain
What is the nested interface?
Explain tree set and its features?
Is null in java?