I am using Oracle Sql Developer (Version 18.4.0.376).
In Sql editor all DBMS_OUTPUT.PUT_LINE are not disabled automatically.
Please refer the below screen shots
Can any one suggest me, How to get ride this issue.
Your database is too old.
10g database and the jdbc driver we use from 2019 won't play nice for getting dbms output.
You're using xe - get a newer one, either 11g or 18c. Both are still free.