What is class and object in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

what is check p object in java

1 Answers   TCS,


What will be the default values of all the elements of an array defined as an instance variable?

0 Answers  


What are null interfaces in JAVA ? and give me some examples?

5 Answers  


Write a program to print the pattern given below

0 Answers  


Is arraylist zero based?

0 Answers  






Can array grow dynamically in java?

0 Answers  


what is the difference between Java Command Line and C command Line?

2 Answers  


What are class members by default?

0 Answers   Hexaware,


can java object be locked down for exclusive use by a given thread? : Java thread

0 Answers  


I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one?

2 Answers   Huawei,


84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


What is a nullable field?

0 Answers  


Categories