Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Core Java Interview Questions
Questions Answers Views Company eMail

1.what is the exact difference between applet and frame? 2.Do we use main method in frames?

5 21595

diff between abstract methods and interfaces with programing (code) example?

2 3653

Is it compulsory to have atleast one abstract method in abstract class?

10 16751

public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 4957

Why cant we define System.out.println() inside a class directly?

5 8732

If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?

Infosys, Synechron,

8 10957

why marker interfaces are there in java

Digital Group,

4 6092

How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?

Saksoft,

1 4345

In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?

5 14895

What are Advatages of Overloading and Overridding.

TCS, Wipro,

8 21505

Can we declare static variables in JSP page.

TCS,

3 20206

wHAT IS DEFAULT SPECIFIER IN JAVA wHAT IS DEFAULT CONSTRUCTOR IN JAVA wHAT IS DEFAULT METHOD IN JAVA

IBM,

12 13168

write java code to print second max number in the array

Huawei, IBAB,

12 17364

how to call One constructor from another;

Innodata Isogen,

10 12427

Write java code to print "Hello how are you" Thread1 should have "Hello" Thread2 should have "how are you" both the threads should start at the same time

Huawei,

4 7236


Post New Core Java Questions






Un-Answered Questions { Core Java }

What is the formula to calculate percentage?

136


What are the basic control structures?

151


What is defined as false sharing in the context of multithreading?

161


What is the difference between stored procedure & function?

181


How can you read content from file in java?

203






How to sort an array from smallest to largest java?

162


How to obtain a performance profile of java program

175


When does an object becomes eligible for garbage collection in java?

177


Explain treeset?

178


What does java se mean?

146


what do you mean by java annotations?

172


What are the 4 types of characters?

149


Is java platform independent?

173


What are static blocks in java ?

224


What is the replace tool?

142