Core Java Interview Questions
Questions Answers Views Company eMail

What is the difference between Byte stream and Charecter Stream?

Tarang Software,

2 4724

where final and static variable stored?

3 15184

does java support default argument in Method?

1 3210

Why does java not allow multiple public classes in a java file ?

2 3757

what is the reason behind non static method cannot be referenced from a static Context?

2 4030

why java does not support unsigned keyword?

1 4577

If goto and const is reserve words than why it is not work in java?

1670

Can a class be subclass of itself?

4 6127

java is fullu object oriented or pure? why?

8 8365

What is the difference between Object and Instance?

TCS,

5 8460

how to java plateform independent?

TCS,

5 6013

Why does java doesnot support multiple inheritance?

TCS,

5 6867

What are the characteristics provided in jdk1.6 apart from other versions?

TCS,

3 6854

What does those terms actually mean included in the j.d.k i.6?

1742

Why does java doesnt suuport unsigned values?

ABC,

1930


Post New Core Java Questions

Un-Answered Questions { Core Java }

What do you mean by object?

677


How do you use substring in java?

683


State differences between C and Java?

804


What is a values collection view ?

806


Difference between this() and super() ?

709






For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1687


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2417


What is data and its types?

707


What are basic keywords?

717


What is locale in java?

720


What is method overriding in java ?

799


How do you invoke a method?

669


Why is java multithreaded?

674


What is the difference between the direct buffer and non-direct buffer in java?

706


How to sort an array in java without using sort method?

654