Javapedia.net
Java
Spring
Hibernate
DevOps
Testing
API
BigData
Web
Erlang
AI
Database
Integration
Cloud
Python
Scala
Tools
Golang
SAP
Login
Register
Submit a Question
Search Javapedia
Search
Javapedia updates
New software-engineering topics and practical interview questions.
Follow @javapediaNet
«
Prev
»
Next
Java /
Inheritance
OOPS Concepts and its implementation in Java (19)
Inheritance (29)
JDK, JRE, JVM, JIT (69)
Java Identifiers (4)
Object, Class and Package (44)
Variable (9)
Local Variables (6)
Instance Variables (Non Static Variables) (3)
Class Variables (Static Variables) (13)
Package (10)
Operators (9)
Modifiers (29)
Data types (10)
Methods (39)
Control Statements (14)
Access Modifiers (5)
Constructor (38)
Interface (46)
Abstract Class (19)
Enum (20)
Arrays (20)
Strings (32)
Using String (29)
Exception (55)
Collections (56)
List and its implementations (22)
Map and its implementations (39)
Set and its implementations (23)
Queue and its implementations (4)
Regular expressions (3)
Design Patterns (75)
Generics (20)
Casting (5)
volatile (13)
Java ThreadLocal (10)
Java Multithreading (113)
Java Multithreading part II (18)
final keyword (13)
static keyword (16)
Java Transactions (JTA) (21)
Concurrent collections (55)
Java Serialization (36)
JDBC (53)
JNDI (17)
RMI (6)
JAXB (10)
JMS (45)
JMX (9)
Servlet Interview Questions (16)
log4j (19)
Annotations (10)
XML (14)
Garbage collection (31)
Programs (8)
JVM (4)
Java8 streams (34)
JavaFX (6)
Autosys Interview questions (21)
The Java Virtual Machine: How and What Is It Used For? (0)
Java 11 (10)
Java 12 (5)
Top Errors You Should Avoid when Studying Programming (0)
Java 17 (1)
JPMS (6)
Java Record Keyword (4)
MapStruct Java Interview questions (0)
Java 21 Interview Questions (46)
Lombok Interview questions (48)
Quarkus Interview questions (50)
Can we reduce the visibility of the inherited or overridden method?
No.
More Related questions...
Are constructors and initializers also inherited to sub classes?
How Inheritance is implemented in java?
How do you implement multiple inheritance in java?
How do you restrict a member of a class from inheriting by its sub classes?
Are static members inherited to sub classes?
What happens if the parent and the child class have a field with same identifier?
What are the differences between composition and inheritance in Java?
Types of inheritance.
Can a class extend by itself in Java?
Can we reduce the visibility of the inherited or overridden method?
How do you override a private method in java?
When to overload a method in Java and when to override it?
What is the order of extends and implements keyword on Java class declaration?
How do you prevent overriding a Java method without using the final modifier?
Explain covariant method overriding in Java.
What is covariant return type in Java?
Benefits of covariant return type in Java.
What are the rules of method overriding in Java?
Difference between method overriding and overloading in Java.
What is Virtual method/function in Java?
How to prevent using overloading instead of overriding by mistake?
Difference between Inheritance and Encapsulation.
What happens when a class implements two interfaces and both have a method with same name and signature?
What happens when a class implements two interfaces and both declare field (variable) with same name?
Can a subclass instance method override a superclass static method?
Can a subclass static method hide superclass instance method?
What is method hiding in Java?
Can we pass an object of a subclass to a method expecting an object of the superclass?
Can a superclass access subclass members?
Show more question and Answers...
JDK, JRE, JVM, JIT
Comments & Discussions
Load comments
Please enable JavaScript to view the
comments powered by Disqus.
Search Javapedia
Search
OOPS Concepts and its implementation in Java
19
Inheritance
29
JDK, JRE, JVM, JIT
69
Java Identifiers
4
Object, Class and Package
44
Variable
9
Local Variables
6
Instance Variables (Non Static Variables)
3
Class Variables (Static Variables)
13
Package
10
Operators
9
Modifiers
29
Data types
10
Methods
39
Control Statements
14
Access Modifiers
5
Constructor
38
Interface
46
Abstract Class
19
Enum
20
Arrays
20
Strings
32
Using String
29
Exception
55
Collections
56
List and its implementations
22
Map and its implementations
39
Set and its implementations
23
Queue and its implementations
4
Regular expressions
3
Design Patterns
75
Generics
20
Casting
5
volatile
13
Java ThreadLocal
10
Java Multithreading
113
Java Multithreading part II
18
final keyword
13
static keyword
16
Java Transactions (JTA)
21
Concurrent collections
55
Java Serialization
36
JDBC
53
JNDI
17
RMI
6
JAXB
10
JMS
45
JMX
9
Servlet Interview Questions
16
log4j
19
Annotations
10
XML
14
Garbage collection
31
Programs
8
JVM
4
Java8 streams
34
JavaFX
6
Autosys Interview questions
21
The Java Virtual Machine: How and What Is It Used For?
Java 11
10
Java 12
5
Top Errors You Should Avoid when Studying Programming
Java 17
1
JPMS
6
Java Record Keyword
4
MapStruct Java Interview questions
Java 21 Interview Questions
46
Lombok Interview questions
48
Quarkus Interview questions
50
Recently added questions
What is parameter binding in MyBatis?
How do you integrate MyBatis with Spring Boot?
What is a SqlSessionFactory in MyBatis?
How do you write a basic SELECT statement in MyBatis?
What is the difference between #{} and ${} in MyBatis?
What is MyBatis-Spring?
What is MyBatis?
What is the difference between MyBatis and Hibernate?
What is a Mapper interface in MyBatis?
What is a Mapper XML file?
What is result mapping?
What are the supported statement types in MyBatis?
What is a resultMap?
How do you configure a data source in MyBatis?
What is the mybatis-config.xml file used for?
Explain how pagination is typically implemented in MyBatis?
What is the purpose of MyBatis?
What are the key features of MyBatis?
What is a SqlSession in MyBatis?
What is dynamic SQL in MyBatis?