Without creating a new object, How you can retrieve a
String or other object?
Answer / ashokmail.java@gmail.com
using static , we can access object without creating new
instance.
| Is This Answer Correct ? | 4 Yes | 2 No |
What is an empty list in java?
Where local and global variables are stored?
What are the override methods in Object class?
2 Answers Tech Mahindra, Wipro,
What is boolean logic?
Can we write a class without main method in java?
Define jre i.e. Java runtime environment?
What is the difference between and ?
What is consumer in java?
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
Explain the difference between association, aggregation and inheritance relationships.
What is use of super keyword?
Can you create an object of an abstract class?