How can we use primitive data types as objects?


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

Post New Answer

More Core Java Interview Questions

class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }

8 Answers   Logica CMG,


Explain when we should make an instance variable private.

0 Answers  


What are File and RandomAccessFile classes?

2 Answers  


what is difference between Action messages and Action errors?

3 Answers   Bio Imagene, TCS,


what is the difference between a java object reference and c++ pointer?

4 Answers  


Why java does not support pointers?

0 Answers  


What is the inheritance?

0 Answers  


Can I declare class as static or private?

0 Answers  


What are the restrictions imposed on method overriding?

0 Answers  


What is primitive data type in java?

0 Answers  


Explain enumeration in java?

0 Answers  


why the constructor should be used in class,if there is no constructor what will happen?

4 Answers  


Categories