answersLogoWhite

0


Best Answer

Yes, you can have more than one constructor with a different set of parameters.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you overload the constructor in java true or false?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

True or False A C plus plus class constructor cannot return a function value?

True - A C++ constructor cannot return a value.


Are true false and null Java keywords?

True and false are literals(special built-in value) in java and cannot be used as keywords.


True or false hemochromatosis is also known as iron overload disease?

True


The name of a Java program file must match the name of the class with the extension java A True B False?

True


In Java method usually hold the properties of an object. True or False?

true


Progressive overload is the gradual decrease in weight which prevents your muscles from growing stronger?

If it is a true or false question the answer is False. :)


What is literal in java programming?

Literal in java are L, F, null, true, false These act as keyword(have special meaning in java) but these does'nt comes under the category of Java Keyword.


Can a single Java class subclass extend both InputStream and Reader. True or False?

Java does not have multiple inheritance, so no. Java can use multiple interfaces, though, with the "implements" keyword.


Define an expression that evaluates to true when i equals j?

In Java, or C, the expression is simply:i == jIf the two are equal, this expression will evaluate to true; if not, it will evaluate to false.In Java, or C, the expression is simply:i == jIf the two are equal, this expression will evaluate to true; if not, it will evaluate to false.In Java, or C, the expression is simply:i == jIf the two are equal, this expression will evaluate to true; if not, it will evaluate to false.In Java, or C, the expression is simply:i == jIf the two are equal, this expression will evaluate to true; if not, it will evaluate to false.


All the bitwise operators have the same level of precedence in Java true or false?

False: highest precedence & bitwise AND ^ bitwise XOR | bitwise OR lowest precedence


How you use if condition in java?

The if block is used in java to check a true or false condition. for ex: if(age > 18) { system.out.println("You are an Adult"); } else { system.out.println("Sorry, you are still a kid"); }


Which method is default by true in java?

I don't understand what you mean with "default by true"? Please clarify your question. A Java method can have zero or more parameters, and it must have one return value. Any of these can be declared as "boolean", in which case the value can be either true or false.