You are not logged in.

#1 2015-06-16 05:58:14

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Default Constructor:

Java Quizzes Java Language Constructors-And-Methods

Directions:
public class Test { }

Question:
What is the prototype of the default constructor?

Option A):
public Test(void)
Option B):
public Test( )
Option C):
Test(void)
Option D):
Test( )

Correct Answer is Option B):
public Test( )


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-16 05:58:14

Advertisement
Ads By Google

Re: Default Constructor:



\n

Board footer