What are the Object and Class that classes used for?
Answer Posted / ashok
Object class is the ultimate super class of all classes in java.It defines maths method which are inherited by all classes in java.
Class class defines the functionality or behaviour for all classes in java that how object of class should behave according to the functionality of that class.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define linked list and its features with signature?
Can a vector contain heterogenous objects?
Explain wrapper classes in java?
What is an interface in java? Explain
In the below example, how many string objects are created?
How the metacharacters are different from the ordinary characters?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
How would you convert bytes to string?
What is lexicographically smallest string?
What do you mean by stream pipelining in java 8?
What is the advantage of preparedstatement over statement?
Who is the owner of java?
How do you reverse a word in java?
How many types of assembly languages are there?
What is meant by string is immutable?