How does Java implement polymorphism?

Java implements polymorphism in two ways: 1. Static or compile-time polymorphism is done by method overloading (more then one methods sharing the same name but different number/types/order of...

java 3 Answer 26 views asked 6 days ago in Technology by LogenRahul

What is static in Java?

The static keyword in java is used for memory management mainly. We can apply java static keyword with variables, methods, blocks and nested class. The static keyword belongs to the class...

java 2 Answer 70 views asked May 29 in Technology by LogenRahul

What do you mean by classes?

A class can have subclasses that can inherit all or some of the characteristics of the class. In relation to each subclass, the class becomes the superclass.Subclasses can also define their own...

java 3 Answer 92 views asked May 21 in Technology by muneshs16

What is native keyword?

The native keyword is used to declare a method which is implemented in platform-dependent code such as C or C++. When a method is marked as native, it cannot have a body and must ends with...

java 2 Answer 65 views asked May 19 in Technology by muneshs16