Java mutliple choice questions with answers on constructors

0

1.Can we define method with same name of class? 2.What happens if we add return type to constructor? JVM treats that as method 3.We can declare constructor as private? 4.What is default accessibility modifier of a default constructor Same as class accessi

Read this post on instanceofjava.com


saidesh

blogs from hyderabad

Recommended for you