Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Java 7
« Previous
Next »
super() is always 1st line in constructor or method?
Options
- Yes
- No
- can’t say
CORRECT ANSWER : Yes
Discussion Board
Correct answer is yes
The answer is 'yes'. If you don't put in super(), the compiler puts it for you automatically as the first line of the constructor.
RN 09-29-2016 03:51 PM
Question not logical
IF super() is used, then is ALWAYS in first line. But not every constructor or method use super().
Question: "super() is always 1st line in constructor or method?" answer NO. Because sometimes i don't use super()
Mariusz 11-9-2015 07:57 AM
answer?
how??
yang 10-19-2015 01:42 PM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲