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
Popular Articles by this blogger
- Java Jsp Interview Questions

- Method overloading interview questions

- Bitwise Operators in java

- Top 20 Java Exception handling interview questions and answers for freshers and experienced

- Basic Java example program to replace an element at specified index arraylist

- Java Servlet Interview Questions

- Top 16 Java Inheritance Interview questions for freshers and experienced

- Private constructor in java example

