What are the five essential terms in Object Oriented Programming?
Java Intern Interview Questions
30,860 java intern interview questions shared by candidates
Have you memorized this answer? (I wanted to swear at him when he went out).
what methods would you overwrite in java.lang.object class
Describe different collections and their pros and cons, unix and linux commands
How do you nullify or remove the unused objects from memeory?
Q. What is the difference between Singleton and Immutable object
Question: Write pseudo code to validate and evaluate a given arithematic expression Example: a+(b*c)+(d/e) If the input is syntactically wrong, display an error message else display the result
Question: Write a simple query to show data in a single resultset. Resultset should have department table data first order by deptname and followed immediately by sub-department table data also ordered by deptname. Both tables data should be wrapped in a single resultset, with the above criteria.
what is the output public class Barclays { static class A{ A(){ f(); } public void f(){ System.out.println("A ctor"); } } static class B extends A{ B(){ f(); } public void f(){ System.out.println("B ctor"); } } public static void main(String[] args) { B b = new B(); b.f(); A a = new A(); a.f(); } }
Yeah, it is not thread safe, you can call it just a certain number of times, what would you do? There is some feature in the language, but I'm trying to see what you think.
Viewing 341 - 350 interview questions