0% found this document useful (0 votes)
13 views

Very Imp.core Java Interview Questions by Hemanth Sir.

Uploaded by

Ashwin jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Very Imp.core Java Interview Questions by Hemanth Sir.

Uploaded by

Ashwin jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 23

What is for loop?

(Java)
oops concept
explain oop's concept
what is class and why we use class

What are oops concepts?


explain oops concepts?
FULL basics of java static,nonstatic,
What if the static keyword is removed from public static void main , what is the result or the output or error ?
explain public static void main
What are different access modifiers in Java?
What is constructor ? what is super ()
What is Constructor
differences between overloading and overriding, what is polymorphism, what is abstraction and write a program which shows me someth
rogram which shows me something which I understand about these concepts.
what is inheritence and why we use it,write a code

what is inheritance?
Does java supports multiple inheritance?
What is the difference between interface and abstract class
Abstract and interface
why do we use interfaces? Why is interface concept present when something could be achieved using classes or abstract classes?
tell the use of abstract classes over interfaces, and how are interfaces built in terms of methods declared and variables within it..?
Interface and why we use it
.diffrence between interface and abstract class,and when we use interface,when we use abstract class

What is the different between inheritance and interface.?


sses or abstract classes?
and variables within it..?
What is the difference between interface and abstract class
Abstract and interface
Difference between interface and abstract ?
interface vs abstract
overloading and overridding

it's a overloading or overridding will it compile or not.


public int m1(int a,int b)
public float m1(int c,int d)
overloading and overridding

it's a overloading or overridding will it compile or not.


public int m1(int a,int b)
public float m1(int c,int d)

Diff b/w overload and override


What is Encapsulation
What is polymorphisim
What is binding(Early and Late binding)
I have some reusable methods and i have some new feture,so i want to acess the reusable methods to my current application
What exactly your file structure looks like when you are automating something by using of eclipse
access specifiers and their use
ods to my current application,how can i do that
Exception concept
difference between throw & throws
what is exception and types of exception
how to handle exception
.what is nullpointer expection?
wat is d super most class in java and what are the different
methods in d same
Function of garbage collector.how to stop garbage collector not to
clear the memory?
There are one string say Aattribute , so write a code to find the
repeated word in that string and it should work for case
insensitive
string reverse
How to find out the length of the string without using length function
How to find out the part of the string from a string
simple string programe.
String reverse
Write a Code for this. string str='selni' replace n with N
code to find a particular word from a string and explain line by line
difference between Hash map , Hash
Table and Arraylist

Write a code where there are 2 set's of


key value pair, print the value only if keys
and values are same
find higdest value in list
find the duplicate value in list
wat is collection and dif types.
dif between sets and lists
.dif between delete and truncate
questions on collections like how do you do sorting using collections?
difference between array and linklist
wat is queue,stack,linked list,circular linked list,dqueue
hashmap vs hashtable?
array vs arraylist
multi threading,
dif between thread and sleep
LIFE cycle of a thread.
Count no. Of words and sentence in notepad
Count no. Of words and sentence in notepad and arrange them in ascending order.
how to open a file and count the no of words and no of character and no of lines
All types of Test case for save a file in notepad
.i hve text file(like india is my country) you have to add some more text. what is your approach.
i have properties file and from there i have to fetch data. what is the approach?
What is the Difference between final,finally,finalize
what is the difference between Call by value and call by referance
Programes
1.Reverse a number
2.1,2,3,4,5,65,76,5,,4,33,4,34,232,3,2323,
find the biggest number among these
difference between interface and abstract class
asked to write code for this.alert page is given with Id field and
v should enter value to dat field and accept it.

explain java in layman terms if I don't understand any technical stuffs like private, class or object..
write a program to check if the given input is palindrome or not by taking input from user at runtime.
how confident are you in manual testing,selenium,java?
code to write a java program (any program)
LOGIC of palindrome

Write a java program for swapping of two numbers?

Write a java program for factorial of a given number

1
aa
222
bbbb
33333
write java program for a above pyramid

You might also like