what is difference between class and object?

Answer Posted / kiran

Class

Class is Logical representation .....

Object

Object is Physical representation......

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many threads can java run?

563


What is a nested class?

598


Explain importance of inheritance in java?

607


Write a program to reverse array in place?

595


Why are the objects immutable in java?

550






What is prime number in java?

539


How many types of constructors are used in java?

543


What are data types in oop?

557


What does the @override annotation do?

563


What was java originally called?

514


When will we use them?

601


Can we make main() thread as daemon?

580


What are the two types of java?

522


Is 0 true or false?

519


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2286