Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Out of these, which one is the correct way of calling a constructor that has no parameters of the superclass A by the subclass B?
Home
JAVA
Out of these, which one is the correct way of calling a constructor that has no parameters of the...
0
votes
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
Out of these, which one is the correct way of calling a constructor that has no parameters of the superclass A by the subclass B?
1) superclass.();
2) super(void);
3) super();
4) super.A();
superclass
java
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 21, 2022
by
sharadyadav1986
3) super();
Related questions
+1
vote
Q: Can a subclass access private members of its superclass in Java?
asked
Feb 1, 2023
in
JAVA
by
sharadyadav1986
subclass
java
superclass
0
votes
Q: Which one is a superclass of the ContainerEvent class out of the following?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
superclass
java
0
votes
Q: Out of the following, which one is a superclass of all the exception type classes?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
superclass
java
+1
vote
Q: What is a superclass in Java?
asked
Feb 1, 2023
in
JAVA
by
sharadyadav1986
superclass
java
0
votes
Q: _______ is a superclass of all the Adapter classes.
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
superclass
0
votes
Q: Out of these exceptions, which one is thrown by the compareTo() method that is defined in a double wrapper?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
exception
java
method
0
votes
Q: Out of these data members of the HttpResponse class, which one is used for the storage of the response that is from an http server?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
data-member
httpresponse
java
0
votes
Q: Out of these classes, which one allows a user to define their own formatting pattern for time and dates?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
class
pattern
0
votes
Q: Out of these methods, which one can be used for converting all the characters present in a String into an Array of characters?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java
methods
class
0
votes
Q: Out of these operators, which one can be used to get the run time info about an object?
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
java-operators
java
...