Java Related Interview Questions
Questions Answers Views Company eMail

What is the current code for the Java 5 code class Root { ?

3 3677

There are 2 classes . Class A and Class B. In Class A i declared a variable in private. if we can access this private variable in Class B. If yes means , how we can access ?

HCL, Itx Centrics, Virtusa,

7 10133

Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.

1890

when to for abstract class and when to go for interface

2 3702

how to print a numbers from 1 to 100 with out using control structures?

IBM,

4 5862

what is mean by hasing and maping in java platform and advantage?

CTS,

1827

whats the difference between == and .equal ?

Cisco,

10 13365

what is meant by package in java?

5 9743

What is in Hibernate? How exactly inheritance of Object to Tables can be done? What is the benefits of discriminator?

AppLabs,

1 6615

Write a class which checks whether a given number is prime or not. Write another class to implement the behavior of previous class and print the series of twin prime number upto a given range.

1359

Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.

1365

Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.

1503

Topic- looping,function overloading,nesting ,polymorphism. Aim - to write a function with a name buzz-buds,that will check whether the given numbers are buddies or not on the basis of no. of parameters passed during function calling.

1600

class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

Yamaha,

2 7204

how to fing linkedlist is circular or not?

TCS,

1 2801


Un-Answered Questions { Java Related }

Define cascade and inverse option in one-many mapping?

149


How to create packages in java?

524


What are Servlets?

596


What are the fetching strategies supported by hibernate?

186


What do you mean by ejb?

542






Explain what is queuemanager in ibm websphere mq?

456


What is independent and dependent variables in research?

466


What is the purpose of @requiredstringvalidator annotation?

527


What is chat area? Explain.

553


What is field name?

580


What is clustering and what is achieved through it?

566


What is difference between eager and lazy loading?

135


Explain jvm, jre, and jdk?

557


Why arraylist is not synchronized in java example?

463


Do I need web server in front of was?

491