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

Core Java Interview Questions
Questions Answers Views Company eMail

printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ?


1 4468

whats the purposr of using serialization?

6 6855

how to one war file class to another war file class?


suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?

3 4953

what is meant by UP& DOWN casting in java?

6 11864

how can we import the user defined package without classpath?

CSC, Infosys,

1 6641

Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example


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.


what is j2se

3 4661

we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?


4 6309

what is unreachable code problem in multiple catch statements

3 4911

where lives in jvm

5 6837

What is "Java Native Interface" and how to use it?


1 4962

What is the diff. b/w Interfaces & Abstract class?


6 7919

Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify


3 8443

Post New Core Java Questions

Un-Answered Questions { Core Java }

How will you add panel to a frame?


Given a singly linked list, determine whether it contains a loop or not without using temporary space?


Can we have any code between try and catch blocks?


Can we able to pass objects as an arguments in java?


What is the difference between member variables initialization and assignment in a constructor?


What is variable explain with example?


Differentiate between a constructor and a method? Can we mark constructors final?


What are exception handling keywords in java?


What is an arraylist in java?


What is the java idl system?


What is string in java with example?


Is there a sort function in java?


Difference between collection, collection and collections in java?


Define array. Tell me about 2-D array.


What is the class in java?