New Core Java Interview Questions :: ALLInterview.com http://www.allinterview.com New Core Java Interview Questions en-us My interview asked what is dynamic variable in java and where we use http://www.allinterview.com/showanswers/101285.html could you run the java program without main method? http://www.allinterview.com/showanswers/101203.html yes,we can write and run a java program without using the main method. i.e By using static example program...! public void static( ) public class { public void static( ) { System.out.println( "Without main method" ); System.ex Accenture NJ mostly ask question on Collection like 1)How to sort Obj http://www.allinterview.com/showanswers/101192.html The answer to all this question is easy but i think they want answer from internal mechanism how it works inside Java!!! You think you answered well but they will always fail you just hate then We can write any Java Logics in our JSP. Then why we are using servl http://www.allinterview.com/showanswers/100994.html What is Three tier architecture. Can anyone explain with a Ordinary http://www.allinterview.com/showanswers/100993.html My application URL : http://localhost:8080/Application/Login.jsp. W http://www.allinterview.com/showanswers/100992.html I need some details about an employee. i have only the employee id i http://www.allinterview.com/showanswers/100991.html which is advanced deep technology in java launched by the sun microsy http://www.allinterview.com/showanswers/100951.html Given: 11. public static void main(String[] args) { 12. Integer i = http://www.allinterview.com/showanswers/100867.html Compilation fails because of an error on Given: 1. package test; 2. 3. class Target { 4. public String name http://www.allinterview.com/showanswers/100866.html any class 84. try { 85. ResourceConnection con = resourceFactory.getConnectio http://www.allinterview.com/showanswers/100865.html The resource connection will not be closed on line 88. 11. static class A { 12. void process() throws Exception { throw new http://www.allinterview.com/showanswers/100864.html B Given: 10. interface A { void x(); } 11. class B implements A { publ http://www.allinterview.com/showanswers/100863.html Compilation fails because of an error in line 25. 33. try { 34. // some code here 35. } catch (NullPointerException http://www.allinterview.com/showanswers/100862.html 1. c 10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } http://www.allinterview.com/showanswers/100861.html Nav.Direction d = Nav.Direction.NORTH;