Subjects
▼
Apache
Business Intelligence
Databases
Healthcare
Java Technologies
JavaScript Frameworks
Microsoft Technologies
Mobile Technologies
Networking
Operating System
PHP Frameworks
Programming Languages
SalesForce
Scripting Languages
Software Testing
Web Development
Interview questions
▼
Apache
Hadoop
Business Intelligence
Cognos
Databases
MySQL
Oracle
Sqlserver
Healthcare
Medical Billing
Java Technologies
Core Java
EJB
JavaScript Frameworks
Angular
JavaScript
ReactJS
Microsoft Technologies
.NET Framework
ADO.NET
AJAX.NET
ASP.NET
ASP.NET MVC
C#.NET
Sharepoint
Silverlight
WCF
Web services
Workflows
WPF
Mobile Technologies
Android
iOS
Windows Mobile
Operating System
File management in Unix
Memory management
Process Model and IPC
PHP Frameworks
PHP
Programming Languages
C Programming
SalesForce
SalesForce
Software Testing
Automation QTP
Automation testing QTP with ISTQB Exam modal papers
Automation testing QTP with VB Script functions
Manual testing
Perfomance(Load Runner)
Selenium
Web Development
HTML
Multiple choices
▼
Databases
SQL
JavaScript Frameworks
JavaScript
jQuery
Microsoft Technologies
C#.NET
PHP Frameworks
PHP
Scripting Languages
VBScript
Software Testing
Automation testing QTP with ISTQB Exam modal papers
Manual testing
Web Development
ASP
Bootstrap
CSS
HTML
HTML5
XML
Tutorials
▼
Java Technologies
Advanced Java
Core Java
JavaScript Frameworks
JavaScript
Articles
▼
Databases
Oracle
Java Technologies
Core Java
Networking
CCNA
Web Development
HTML5
Core Java Interview questions
Total available count: 646
Subject - Java Technologies
Subsubject - Core Java
1
Which exceptions does String.format() method throws in java?
2
When will isEmpty() method of string returns false in java?
3
When will isEmpty() method of string returns true in java?
4
From which version isEmpty() method of String class is available in java?
5
What is the return type of getBytes() method of java.lang.String class in java?
6
What the function of getBytes() method of String class in java?
7
When will equals(Object anotherObject) method of string returns false in java?
8
What the function of endsWith(String suffix) method of String class in java?
9
Which exception does charAt() method of string throws in java?
10
What is the return type of toUpperCase(Locale l) method of java.lang.String class in java?
11
What is the return type of toUpperCase() method of java.lang.String class in java?
12
What is the return type of toLowerCase() method of java.lang.String class in java?
13
What is the return type of intern() method of java.lang.String class in java?
14
What is the return type of trim() method of java.lang.String class in java?
15
What is the return type of isEmpty() method of java.lang.String class in java?
16
What is the return type of length() method of java.lang.String class in java?
17
What the function of toUpperCase() method of String class in java?
18
What the function of toLowerCase() method of String class in java?
19
What the function of intern() method of String class in java?
20
What the function of split(String reg, int limit) method of String class in java?
21
What the function of trim() method of String class in java?
22
What the function of isEmpty() method of String class in java?
23
What the function of length() method of String class in java?
24
In case of Multidimensional array, is it compulsory to mention size limit of all dimensions?
25
Write the syntax to use Anonymous Inner Class in java?
26
What do you know about Anonymous Inner Class in java?
27
What do you know about Normal Inner Class in java?
28
What do you know about inner class in java?
29
Can we stop execution of finally block in java?
30
Which is an example for Polymorphism: overloading or overriding?
31
Can we overload main() method?
32
Which class is the super class for every class in java?
33
Can we execute a program without main() method in java?
34
Can we access clone() method from outside the package in java?
35
Which Exception is thrown if try to use clone() method with implementing Cloneable interface in java?
36
What is the difference between newinstance() method in Class.forName() method in java?
37
What do you know about serialize of object and serialization in java?
38
Is there any difference if i use public static void main(String[] args) instead of public static void main(String args[])?
39
How many type of variables available in java, mention them?
40
What is returned by the method toString() in java?
41
The method finalize() throws which exception?
42
The method clone() throws which exception?
43
How object can be created using newinstance() in java?
44
How object can be created using Class.forName() in java?
45
What is the difference between class and object in java?
46
What is java virtual machine(JVM)?
47
Which latest version of java is in market and when it released?
48
Describe object oriented programming and what is object ?
49
Is java platform dependent or not?
50
Describe what is java?
51
What is function of currentThread() method of thread class in java?
52
What is function of setName(String name) method of thread class in java?
53
What is function of getName() method of thread class in java?
54
What is function of setPriority(int priority) method of thread class in java?
55
What is function of getPriority() method of thread class in java?
56
What is function of join(long miliseconds) method of thread class in java?
57
What is function of join() method of thread class in java?
58
What is function of sleep(long miliseconds) method of thread class in java?
59
What is function of start() method of thread class in java?
60
What is function of run() method of thread class in java?
61
How many methods are there in Runnable Interface in java?
62
What are the commonly used Constructors of Thread class in java?
63
In how many ways we can create Thread in java?
64
What are the different states of thread in java?
65
What do you know about Thread in java?
66
What do you know about Multitasking and in how many ways of Multitasking can be acheived?
67
What are the advantages of multi-threading in java?
68
What do you know about Multithreading in java?
69
What is the return type of countTokens() method of StringTokenizer class in java?
70
What is the return type of nextElement() method of StringTokenizer class in java?
71
What is the return type of hasMoreElements() method of StringTokenizer class in java?
72
What is the return type of nextToken(String delim) method of StringTokenizer class in java?
73
What is the return type of nextToken() method of StringTokenizer class in java?
74
What is the return type of hasMoreTokens() method of StringTokenizer class in java?
75
What the function of countTokens() method of StringTokenizer class in java?
76
What the function of nextElement() method of StringTokenizer class in java?
77
What the function of hasMoreElements() method of StringTokenizer class in java?
78
What the function of nextToken(String delim) method of StringTokenizer class in java?
79
What the function of nextToken() method of StringTokenizer class in java?
80
What the function of hasMoreTokens() method of StringTokenizer class in java?
81
What is the importance of StringTokenizer(String str, String delim, boolean returnValue) constructor of StringTokenizer class in java?
82
What is the importance of StringTokenizer(String str, String delim) constructor of StringTokenizer class in java?
83
What is the importance of StringTokenizer(String str) constructor of StringTokenizer class in java?
84
What are the different type of constructors available in StringTokenizer class in java?
85
What do you know about StringTokenizer class in java?
86
Which method is used to represent object as string in java?
87
Differentiate between StringBuffer and StringBuilder in java?
88
Differentiate between String and StringBuffer in java?
89
What is default capacity of StringBuilder() constructer of StringBuilder class?
90
What is the return type of substring(int beginIndex, int endIndex) method of StringBuilder class in java?
91
What is the return type of substring(int beginIndex) method of StringBuilder class in java?
92
What is the return type of length() method of StringBuilder class in java?
93
What is the return type of charAt(int index) method of StringBuilder class in java?
94
What is the return type of ensureCapacity(int minimumCapacity) method of StringBuilder class in java?
95
What is the return type of capacity() method of StringBuilder class in java?
96
What is the return type of reverse() method of StringBuilder class in java?
97
What is the return type of delete(int startIndex, int endIndex) method of StringBuilder class in java?
98
What is the return type of replace(int startIndex, int endIndex, String str) method of StringBuilder class in java?
99
What is the return type of insert(int offset, String s) method of StringBuilder class in java?
100
What is the return type of append(String s) method of StringBuilder class in java?
101
What the function of substring(int beginIndex, int endIndex) method of StringBuilder class in java?
102
What the function of substring(int beginIndex) method of StringBuilder class in java?
103
What the function of length() method of StringBuilder class in java?
104
What the function of charAt(int index) method of StringBuilder class in java?
105
What the function of ensureCapacity(int minimumCapacity) method of StringBuilder class in java?
106
What the function of capacity() method of StringBuilder class in java?
107
What the function of reverse() method of StringBuilder class in java?
108
What the function of delete(int startIndex, int endIndex) method of StringBuilder class in java?
109
What the function of replace(int startIndex, int endIndex, String str) method of StringBuilder class in java?
110
What the function of insert(int offset, String s) method of StringBuilder class in java?
111
What the function of append(String s) method of StringBuilder class in java?
112
What is the importance of StringBuilder(int length) constructor of StringBuilder class in java?
113
What is the importance of StringBuilder(String str) constructor of StringBuilder class in java?
114
What is the importance of StringBuilder() constructor of StringBuilder class in java?
115
What are the different type of constructors available in StringBuilder class in java?
116
From which version of java,StringBuilder class is available?
117
What do you know about StringBuilder class in java?
118
What is default capacity of StringBuffer() constructer of StringBuffer class?
119
What is mutable string and which are used to create mutable string in java?
120
What is the return type of substring(int beginIndex, int endIndex) method of StringBuffer class in java?
121
What is the return type of substring(int beginIndex) method of StringBuffer class in java?
122
What is the return type of length() method of StringBuffer class in java?
123
What is the return type of charAt(int index) method of StringBuffer class in java?
124
What is the return type of ensureCapacity(int minimumCapacity) method of StringBuffer class in java?
125
What is the return type of capacity() method of StringBuffer class in java?
126
What is the return type of reverse() method of StringBuffer class in java?
127
What is the return type of delete(int startIndex, int endIndex) method of StringBuffer class in java?
128
What is the return type of replace(int startIndex, int endIndex, String str) method of StringBuffer class in java?
129
What is the return type of insert(int offset, String s) method of StringBuffer class in java?
130
What is the return type of append(String s) method of StringBuffer class in java?
131
What are the synchronized methods available in StringBuffer class in java?
132
What the function of capacity() method of StringBuffer class in java?
133
What the function of substring(int beginIndex, int endIndex) method of StringBuffer class in java?
134
What the function of substring(int beginIndex) method of StringBuffer class in java?
135
What the function of length() method of StringBuffer class in java?
136
What the function of charAt(int index) method of StringBuffer class in java?
137
What the function of ensureCapacity(int minimumCapacity) method of StringBuffer class in java?
138
What the function of reverse() method of StringBuffer class in java?
139
What the function of delete(int startIndex, int endIndex) method of StringBuffer class in java?
140
What the function of replace(int startIndex, int endIndex, String str) method of StringBuffer class in java?
141
What the function of insert(int offset, String s) method of StringBuffer class in java?
142
What the function of append(String s) method of StringBuffer class in java?
143
What is the importance of StringBuffer(int capacity) constructor of StringBuffer class in java?
144
What is the importance of StringBuffer(String str) constructor of StringBuffer class in java?
145
What is the importance of StringBuffer() constructor of StringBuffer class in java?
146
What are the different type of constructors available in StringBuffer class in java?
147
Can muliple threads access simultaneously in the case of StringBuffer class in java?
148
What do you know about StringBuffer class in java?
149
What is the return type of valueOf(Object o) method of java.lang.String class in java?
150
What is the return type of valueOf(double d) method of java.lang.String class in java?
151
What is the return type of valueOf(float f) method of java.lang.String class in java?
152
What is the return type of valueOf(long l) method of java.lang.String class in java?
153
What is the return type of valueOf(int i) method of java.lang.String class in java?
154
What is the return type of valueOf(char[] c) method of java.lang.String class in java?
155
What is the return type of valueOf(boolean b) method of java.lang.String class in java?
156
What the function of valueOf(Object o) method of String class in java?
157
What the function of valueOf(double d) method of String class in java?
158
What the function of valueOf(float f) method of String class in java?
159
What the function of valueOf(long l) method of String class in java?
160
What the function of valueOf(int i) method of String class in java?
161
What the function of valueOf(char[] c) method of String class in java?
162
What the function of valueOf(boolean b) method of String class in java?
163
What is the return type of toCharArray() method of java.lang.String class in java?
164
What the function of toCharArray() method of String class in java?
165
When will substring(int startIndex, int endIndex) method throws "StringIndexOutOfBoundsException" in java?
166
Which exception does substring(int startIndex, int endIndex) method of string throws in java?
167
What is the return type of startsWith(String prefix) method of java.lang.String class in java?
168
What the function of startsWith(String prefix) method of String class in java?
169
When will split(String regex) method throws "PatternSyntaxException" in java?
170
Which exception does split(String regex) method of string throws in java?
171
From which version split() method of String class is available in java?
172
What is the return type of replaceAll(String regex, String replacement) method of java.lang.String class in java?
173
What the function of replaceAll(String regex, String replacement) method of String class in java?
174
From which version replace(CharSequence target, CharSequence replacement) method of String class is available in java?
175
What is the return type of lastIndexOf(String substring, int fromIndex) method of java.lang.String class in java?
176
What is the return type of lastIndexOf(String substring) method of java.lang.String class in java?
177
What is the return type of lastIndexOf(int ch, int fromIndex) method of java.lang.String class in java?
178
What is the return type of lastIndexOf(int ch) method of java.lang.String class in java?
179
What the function of lastIndexOf(String substring, int fromIndex) method of String class in java?
180
What the function of lastIndexOf(String substring) method of String class in java?
181
What the function of lastIndexOf(int ch, int fromIndex) method of String class in java?
182
What the function of lastIndexOf(int ch) method of String class in java?
183
When will String.join(CharSequence delimiter, CharSequence... elements) method throws "NullPointerException" in java?
184
Which exceptions does String.join(CharSequence delimiter, CharSequence... elements) method throws in java?
185
From which version join() method of String class is available in java?
186
When will isEmpty() method of string returns false in java?
187
When will isEmpty() method of string returns true in java?
188
From which version isEmpty() method of String class is available in java?
189
Which exception does getBytes(String charsetName) method of string throws in java?
190
What is the return type of getBytes() method of java.lang.String class in java?
191
What the function of getBytes() method of String class in java?
192
When will String.format(String format, Object... args) method throws "IllegalFormatException" in java?
193
When will String.format(String format, Object... args) method throws "NullPointerException" in java?
194
Which exceptions does String.format() method throws in java?
195
Which method is called by String.format(Locale locale, String format, Object... args) method when you do not specify the locale parameter?
196
When will equals(Object anotherObject) method of string returns false in java?
197
When will equals(Object anotherObject) method of string returns true in java?
198
The equals() method of string class overrides which class method in java?
199
What is the return type of endsWith(String suffix) method of java.lang.String class in java?
200
What the function of endsWith(String suffix) method of String class in java?
201
When will contains(CharSequence sequence) method of string returns false in java?
202
When will contains(CharSequence sequence) method of string returns true in java?
203
When will contains(CharSequence sequence) method throws "NullPointerException" in java?
204
Which exception does contains(CharSequence sequence) method of string throws in java?
205
When will compareTo(String anotherString) method of string returns zero in java?
206
When will compareTo(String anotherString) method of string returns negative number in java?
207
When will compareTo(String anotherString) method of string returns positive number in java?
208
What are the various values return by compareTo(String anotherString) method of string in java?
209
What is the return type of compareTo(String anotherString) method of java.lang.String class in java?
210
When will charAt(int index) method throws "IndexOutOfBoundsException" in java?
211
What is the return type of toUpperCase(Locale l) method of java.lang.String class in java?
212
Which exception does charAt() method of string throws in java?
213
What is the return type of toUpperCase() method of java.lang.String class in java?
214
What is the return type of toLowerCase(Locale l) method of java.lang.String class in java?
215
What is the return type of toLowerCase() method of java.lang.String class in java?
216
What is the return type of indexOf(String substring, int fromIndex) method of java.lang.String class in java?
217
What is the return type of indexOf(String substring) method of java.lang.String class in java?
218
What is the return type of indexOf(int ch, int fromIndex) method of java.lang.String class in java?
219
What is the return type of indexOf(int ch) method of java.lang.String class in java?
220
What is the return type of intern() method of java.lang.String class in java?
221
What is the return type of split(String regex, int limit) method of java.lang.String class in java?
222
What is the return type of split(String regex) method of java.lang.String class in java?
223
What is the return type of trim() method of java.lang.String class in java?
224
What is the return type of replace(CharSequence old, CharSequence new) method of java.lang.String class in java?
225
What is the return type of replace(char old, char new) method of java.lang.String class in java?
226
What is the return type of concat(String str) method of java.lang.String class in java?
227
What is the return type of isEmpty() method of java.lang.String class in java?
228
What is the return type of equals(Object another) method of java.lang.String class in java?
229
What is the return type of join(CharSequence delimiter, CharSequence... elements) method of java.lang.String class in java?
230
What is the return type of contains(CharSequence s) method of java.lang.String class in java?
231
What is the return type of substring(int beginIndex, int endIndex) method of java.lang.String class in java?
232
What is the return type of substring(int beginIndex) method of java.lang.String class in java?
233
What is the return type of format(Locale l, String format, Object... args) method of java.lang.String class in java?
234
What is the return type of format(String format, Object... args) method of java.lang.String class in java?
235
What is the return type of length() method of java.lang.String class in java?
236
What is the return type of charAt(int index) method of java.lang.String class in java?
237
What are static methods available in string class in java?
238
What the function of toUpperCase(Locale l) method of String class in java?
239
What the function of toUpperCase() method of String class in java?
240
What the function of toLowerCase(Locale l) method of String class in java?
241
What the function of toLowerCase() method of String class in java?
242
What the function of indexOf(String substring, int fromIndex) method of String class in java?
243
What the function of indexOf(String substring) method of String class in java?
244
What the function of indexOf(int ch, int fromIndex) method of String class in java?
245
What the function of indexOf(int ch) method of String class in java?
246
What the function of intern() method of String class in java?
247
What the function of split(String regex, int limit) method of String class in java?
248
What the function of split(String regex) method of String class in java?
249
What the function of trim() method of String class in java?
250
What the function of replace(CharSequence old, CharSequence new) method of String class in java?
251
What the function of replace(char old, char new) method of String class in java?
252
What the function of concat(String str) method of String class in java?
253
What the function of isEmpty() method of String class in java?
254
What the function of equals(Object another) method of String class in java?
255
What the function of join(CharSequence delimiter, CharSequence... elements) method of String class in java?
256
What the function of contains(CharSequence s) method of String class in java?
257
What the function of substring(int beginIndex, int endIndex) method of String class in java?
258
What the function of substring(int beginIndex) method of String class in java?
259
What the function of format(Locale l, String format, Object... args) method of String class in java?
260
What the function of format(String format, Object... args) method of String class in java?
261
What the function of length() method of String class in java?
262
What the function of CharAt(int index) method of String class in java?
263
Can we change the value of String object once assigned in java?
264
String Object belongs to which package in java?
265
Which can be used to overcome the immutable property of String in java?
266
Why String is immutable in java?
267
What is the difference between creating string object using string literal and using new keyword in java?
268
How can you create String object using new keyword with example?
269
Will it create two objects If two strings have same value using String literal in java?
270
How can you create String object using String literal with example?
271
In how many ways String object can be created in java?
272
Which interfaces that String implements in java?
273
What do you know about String class in java?
274
In case of Multidimensional array,is it compulsory to mention size limit of all dimensions?
275
What do you know about multidimensional array in java?
276
Show me the syntax for declaration,instantiation and initialization of array in java?
277
Show me the syntax for declaration and instantiation of array in java?
278
Can we include size of array at declaration in java?
279
In how many ways we can declare two dimensional arrays in java?
280
In how many ways we can declare single dimensional arrays in java?
281
How many types of arrays available in java?
282
Mention disadvantages of array in java?
283
Mention advantages of array in java?
284
What do you know about array in java?
285
Write the syntax to use Ananymous Inner Class in java?
286
What do you know about Ananymous Inner Class in java?
287
Can Static nested class access non static member of outer class in java?
288
What do you know about Static Inner class in java?
289
How many access modifiers can be applied on Method Local inner class in java?
290
Can Method Local inner class access instance variable in java?
291
Can Method Local inner class access variable defined in the method in java?
292
Where can Method local inner class can be instantiated in java?
293
What do you know about Method Local Inner class in java?
294
How many access modifiers can be applied on normal inner class?
295
How to get "this" for outer class if "this" is referencing inner class in java?
296
Suppose we have a class called Outer and with in it another class called Inner.what happen if we compile OuterClass file?
297
Write the code to create new object for normal inner class in java?
298
Can we directly execute the normal inner class file with java command?
299
What do you know about Normal Inner Class in java?
300
Mainly how many types of inner class can be available in java?
301
Which member of the outer class can be accessed by inner class instance?
302
What do you know about innerclass in java?
303
Can we stop excecution of "finally" block in java?
304
What do you know about "try" and "catch" keywords in java?
305
What do you know about "finally" keyword in java?
306
Can we write "try" block alone in java?
307
Can you give example for UnChecked Exception in java?
308
Can you give example for Checked Exception in java?
309
Differentiate Checked and Unchecked Exceptions?
310
What do you know about Unchecked Exceptions in java?
311
What do you know about Checked Exceptions in java?
312
How many types of Errors are available in java?
313
How many types of Exceptions are available in java?
314
Can we handle Errors using try-catch block in java?
315
Differentiate Error and Exception in java?
316
Can you give example for Exception in java?
317
Can you give example for Error in java?
318
What do you know about Exception in java?
319
What do you know about Error in java?
320
Is Error and Exception is same or different in java?
321
Can we override private methods in java?
322
What do you know about invariant in java?
323
What do you know about contravariant in java?
324
What do you know about covariant return type in java?
325
Can we override final method in java?
326
Differentiate overloading and overriding in java?
327
Define Run time polymorphism and give an example in java?
328
Define Compile time polymorphism and give an example in java?
329
How many types of polymorphism available in java?
330
Which is an example for Polymorphism,overloading or overriding?
331
What do you know about overloading in java?
332
Is it necessary for a abstract class to provide method implementation when it implements interface?
333
Can an interface have static methods in java?
334
Can we write main method in abstract class in java?
335
Can you differentiate abstract class and interface in java?
336
Can we use final for methods in an Interface?
337
Can you give example for nested interface in java?
338
Is it possible to instantiate abstract class in java?
339
Is it possible to instantiate interface in java?
340
Which keywords are used when a class inherits interface and interface inherits interface in java?
341
Is it necessary for a class to provide all methods implementation when it implements interface?
342
What do you know about Nested interfaces in java?
343
Give me some examples about Marked or Tagged Interfaces in java?
344
What do you Know about Marked or Tagged Interface in java ?
345
Does java supports multiple inheritance or not and how?
346
What do you know about Interface in Java?
347
Can we overridden Static methods in java?
348
What is the Difference between method Overloading and Overriding in java?
349
Can you have virtual functions in Java?
350
Can we overload main() method?
351
What is object cloning in java?
352
Is java supports multiple inheritance?
353
Why Java does not support pointers?
354
Which class is the superclass for every class in java?
355
Is "static" keyword can be applied to Method Local Inner Class in java?
356
What is difference between static (class) method and instance method in java?
357
What if the static modifier is removed from the signature of the main method?
358
Can we execute a program without main() method in java?
359
Why main method is static in java?
360
What do you know about static method in java?
361
What is the difference between Abstraction and Encapsulation in java?
362
What is immutable class and give an example?
363
Can we use final for constructor?
364
Which keyword helps to prevent overriden and inherit in java?
365
Can constructor perform other tasks instead of initialization?
366
Can we inherit constructor in java?
367
How many types of constructor in java and what are they?
368
Is "static" keyword can be applied to Class (Not Nested) in java?
369
Is "static" keyword can be applied to Inner Class methods in java?
370
Is "static" keyword can be applied to Constructor in java?
371
Is "static" keyword can be applied to interfaces in java?
372
Can we use both "this" and "super" keywords in constructor?
373
What is meant by Explicit Constructor Invocation in java?
374
How can we overcome the variable hiding problem in java?
375
What do you know about variable hiding in java?
376
What is this keyword in java or importance of this keyword in java?
377
Can we access clone() method from outside the package in java?
378
Which Exception is thrown if try to use clone() method with implementing Cloneable interface in java?
379
What is the difference between newinstance() method in Class.forName() method in java?
380
What do you know about Strictfp modifier in java?
381
What do you know about native modifier in java?
382
What do you know about volatile modifier in java?
383
What do you know about transient Modifier in java?
384
What is the difference between serialization and de-serialization in java?
385
What do you know about de-serialization and de-serialize of object?
386
What do you know about serialize of object and serilization in java?
387
What do you know about Synchronized non access modifier in java?
388
Is it compulsory for a subclass of abstract class to provide implementation of abstract method?
389
What is meant by abstract method in java?
390
Can a normal class have an abstract method in java?
391
Is it compulsory for a abstract class to have abstract methods?
392
Can we instantiate abstract class in java?
393
What is meant by abstract class in java?
394
What meant by final variable and how will we declare?
395
When will we use final methods in java?
396
What is final class and give example for final in java?
397
What are the different types of non access modifiers available in java?
398
What is meant by non access modifier in java?
399
What is meant by access modifier in java?
400
Can we shuffle the words public, static and void of main method in java?
401
Is there any difference if i use public static void main(String[] args) instead of public static void main(String args[])?
402
What happen if main method is not declared as public,static and void in java?
403
Why the main method in java is public ?
404
Why the main method in java is static?
405
Why the main method in java is void?
406
What is local variables in java?
407
What is class variable(static variable) in java?
408
In how many ways we can access static fields(variables or methods) in java?
409
What is instance variable in java?
410
How many type of variables available in java,mention them?
411
What is the difference between protected and default(no specifier) access modifier?
412
What is visibility of default(no specifier) access modifier?
413
What is visibility of protected access modifier?
414
What is the visibility of public access modifier?
415
What is the visibility of private access modifier?
416
How many types of access modifiers are available in java, mention them?
417
What is returned by the method toString() in java?
418
Which method is invoked by the garbage collector before object is being garbage collected?
419
The method finalize() throws which exception?
420
The method clone() throws which exception?
421
What is downcasting in java?
422
What is upcasting in java?
423
What is object class in java?
424
How object can be created using object deserialization in java?
425
How object can be created using newinstance() in java?
426
How object can be created using clone() in java?
427
How object can be created using Class.forName()in java?
428
What is the difference between class and object in java?
429
How object can be created using new keyword in java?
430
In how many ways object can be created in java?
431
Which class implements System Class Loader in java?
432
Which class implements Extensions class loader?
433
What is the function of System class loader in Java?
434
What is the function of Extensions class loader in java?
435
What is the function of bootstrap classloader?
436
How many classloaders are there and name them in Java?
437
What is java virtual machine(JVM)?
438
What is java ClassLoader and function of it?
439
What is the responsibility of class loader in Java?
440
What is the command to check java is properly installed in computer?
441
How to set JAVA_HOME or JRE_HOME environment variable in windows 7 and 8?
442
Which environment variable points to java home directory?
443
What is CLASSPATH and is the purpose of it?