Do you know the multiple inheritance in java ??

The below code is showing any compile time error .... if  yess...then what is that??
                                   
                               

                                      class X
                                            {
                                                 //class X members
                                             }
                                    class Y
                                             {
                                                 //class Y members
                                              }
                                    class Z extends X,Y
                                             {
                                              //class Y members
                                              }     

computer picture
        

2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. in java multiple inheritance does not support . so a class can't extends more than one class

      Delete

Is a unit doublet function an even function or odd function?

Dirac’s delta function is defined by the following property  δ(t) = 0 at t !=0            ∞ at t=0. The derivative of an even fu...