What are "methods" and "fields"?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

why string is not taking as primitive datatypes but we r taking it as a class? why explain it?

2 Answers   HP, SparkTG,


33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac

5 Answers  


How many threads can I run java?

0 Answers  


Explain class A{} class B{} class C{} all the three classes are saved in a single file name, what the name should i provide to the file ,in what file name should i run the program? Ple Explain

9 Answers   DNS, Infosys, TCS,


Explain the importance of finally block in java?

0 Answers  






I want to know the host name and provider name for tcs web mail

5 Answers   RSG, TCS,


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

0 Answers   Genpact,


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


What is arraylist e in java?

0 Answers  


Can we force garbage collector to run ?

0 Answers   B-Ways TecnoSoft,


if a java file without any source code is valid java file?

3 Answers   SparkTG,


What state does a thread enter when it terminates its processing in java programming?

0 Answers  


Categories