Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (10.2k points)

How do generate this value in IntelliJ IDEA?

I go to Settings -> Errors -> Serialization issues -> Serializable class without ‘serialVersionUID’, but it still doesn't show me the warning. My class PKladrBuilding parent implements interface Serializable.

Part of the code:

public class PKladrBuilding extends PRQObject

public abstract class PRQObject extends PObject

public abstract class PObject implements Serializable

1 Answer

0 votes
by (46k points)
edited by

I am not certain if you possess an great version of IntelliJ IDEA, however if I maintain to menu File → Settings... → Inspections → Serialization issues → Serializable class externally 'serialVersionUID'` approved, the class you present give me signs.

Enter image description here

Are you interested in learning Java from the basics! Refer to this video on Java provided by Intellipaat:

If I try the first class I see:

Enter image description here

BTW: It didn't confer me a signal till I reckoned { } to the edge of each class to retaliate the compile failure.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...