What is the purpose of encapsulation?


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

Post New Answer

More Core Java Interview Questions

What is the purpose of encapsulation?

0 Answers  


Distinguish method overloading and overriding

2 Answers   Tech Mahindra,


What we have to do, when we don't want to implement all methods of an interface?

5 Answers  


What are the uses of synchronized keyword?

0 Answers  


What is anonymous inner class?

0 Answers  






Can we have try block without catch block?

0 Answers  


What is string buffer?

0 Answers  


write a code, we have two thread, one is printing even no and other print the odd no.

1 Answers   Global Logic,


Why we need Finally with try? pls expain with ur example..

3 Answers   BitWise, HDFC, TCS,


Can we define a package statement after the import statement in java?

0 Answers  


Explain the key functions of data binding?

0 Answers   Akamai Technologies, Aspire, Impetus, Infogain, Tavant Technologies, Virtusa,


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


Categories