Core Java Interview Questions
Questions Answers Views Company eMail

Why null interfaces are used in Java?

2 7183

What is a Wrapper class?

14 39912

Write a program for recursive Traverse?

1 4925

Write a program to create a binary Tree ?

2 8230

what are Hostile Applets?

1591

what is a transient variable?

5 9416

what is the JNDI?

3 5494

What JNDI(Java Naming and Directory Interface) provides?

4 5762

Explain, why the constructor is required in implemented class?

4 6604

is java support call by reference and call by value, if supports please explain?

5 20096

what is the difference between the "protected and default" modifiers?

8 21367

where u use Abstraction and Interface in real time

Sonata,

3 7363

Difference between JDK, JRE, JVM

Deloitte, HCL, Mind Tree, Oracle, Reliance, TCS, ThinkBox,

16 90785

what do you meant by Platform-Independent?

Persistent,

6 11749

Why Java is not purely object oriented?

Elitecore, Persistent, Reliance, Wipro,

50 64349


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is the syntax and characteristics of a lambda expression?

544


Why is string builder not thread safe?

583


Explain about features of local inner class?

579


Can we have multiple classes in a single file?

499


What are different access specifiers in java? Explain

610






What is advantage of java?

525


What classes of exceptions may be caught by a catch clause in java programming?

684


How many types of design patterns are there?

517


public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }

1839


Why runnable interface is used in java?

554


What are recursive functions?

559


Which java collection does not allow null?

702


What is an anonymous class in java?

533


What is a line break example?

565


What is balanced tree in java?

518