How can we use primitive data types as objects?
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(); }
Explain when we should make an instance variable private.
What are File and RandomAccessFile classes?
what is difference between Action messages and Action errors?
what is the difference between a java object reference and c++ pointer?
Why java does not support pointers?
What is the inheritance?
Can I declare class as static or private?
What are the restrictions imposed on method overriding?
What is primitive data type in java?
Explain enumeration in java?
why the constructor should be used in class,if there is no constructor what will happen?