Telegram Group & Telegram Channel
Вопрос с собеседования

Можно ли в Java создать экземпляр абстрактного класса?

Ответ: Нет, напрямую создать экземпляр абстрактного класса нельзя, поскольку он содержит не реализованные методы.

Экземпляры можно создавать от тех классов, которые наследуют абстрактный класс и реализуют все его абстрактные методы.


tags: #собеседование

📱 Java Developer | Чат
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/java_tg/2932
Create:
Last Update:

Вопрос с собеседования

Можно ли в Java создать экземпляр абстрактного класса?

Ответ: Нет, напрямую создать экземпляр абстрактного класса нельзя, поскольку он содержит не реализованные методы.

Экземпляры можно создавать от тех классов, которые наследуют абстрактный класс и реализуют все его абстрактные методы.


tags: #собеседование

📱 Java Developer | Чат

BY Java Developer


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_tg/2932

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.

The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.

telegram from sa


Telegram Java Developer
FROM USA