What is a class component?
What is the function of log?
Can anonymous class have constructor?
When will you define a method as static?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
What are access specifiers in java ?
0 Answers Akamai Technologies,
What are nested classes in java?
How many bits are in a sentence?
Can an integer be a string?
Is java pure object oriented or not? if yes, give the valid reason.
13 Answers Emphasis, NIIT, Syntel, Wipro,
Can a class have multiple subclasses?
Why cant we define System.out.println() inside a class directly?
Why does it take so much time to access an applet having swing components the first time?