Can we use return in constructor?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Explain constructors and types of constructors in java.

0 Answers  


what is template design pattern?

0 Answers  


How to create a base64 decoder in java8?

0 Answers  


Does java have extension methods?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  






Explain about varargs in java?

0 Answers  


When throw keyword is used?

0 Answers  


what is the difference between statis block and static variable

7 Answers  


why marker interfaces are there in java

4 Answers   Digital Group,


How are this() and super() used with constructors in java programming?

0 Answers  


what is dynamic method dispatch ?

27 Answers   Fidelity, MUET, SDSF,


What is class??

0 Answers   Tech Mahindra,


Categories