Home > Back-end >  Conditions of operation type is not compatible with how to deal with, a freshman
Conditions of operation type is not compatible with how to deal with, a freshman

Time:05-12

How to solve, please give directions

CodePudding user response:

refer to the original poster weixin_58122027 response:
how to solve, please show


This is a reserved keyword is not operation method, so as long as about not inheritance relationships will be an error,

CodePudding user response:

reference 1st floor qq_39936465 response:
Quote: refer to the original poster weixin_58122027 response:
how to solve, please show


This is a reserved keyword is not operation method, so as long as about inheritance is not complains,

Then how should solve?

CodePudding user response:

Can't use, so obviously q and Anything is completely, two types of instanceof do you use?

CodePudding user response:

refer to the second floor weixin_58122027 response:
Quote: refer to 1st floor qq_39936465 response:
Quote: refer to the original poster weixin_58122027 response:
how to solve, please show


This is a reserved keyword is not operation method, so as long as about inheritance is not complains,

Then how should solve?




refer to the second floor weixin_58122027 response:
Quote: refer to 1st floor qq_39936465 response:
Quote: refer to the original poster weixin_58122027 response:
how to solve, please show


This is a reserved keyword is not operation method, so as long as about inheritance is not complains,

Then how should solve?


 
System. The out. Println (Anything. Class. IsInstance (q));

CodePudding user response:

references made green _ reply: 3/f
can't use, so obviously q and Anything is completely, two types of instanceof do you use?

This is the teacher give sample request us to correct our mistakes, if only I knew why, I wouldn't have come here to ask

CodePudding user response:

references made green _ reply: 3/f
can't use, so obviously q and Anything is completely, two types of instanceof do you use?

That should be how to solve, I need how to solve

CodePudding user response:

Qq_39936465
reference 4 floor response:
Quote: refer to the second floor weixin_58122027 response:
Quote: refer to 1st floor qq_39936465 response:
Quote: refer to the original poster weixin_58122027 response:
how to solve, please show


This is a reserved keyword is not operation method, so as long as about inheritance is not complains,

Then how should solve?




refer to the second floor weixin_58122027 response:
Quote: refer to 1st floor qq_39936465 response:
Quote: refer to the original poster weixin_58122027 response:
how to solve, please show


This is a reserved keyword is not operation method, so as long as about inheritance is not complains,

Then how should solve?


 
System. The out. Println (Anything. Class. IsInstance (q));

The results
Object is ZZF05 class instances
false
  • Related