What are encapsulation, inheritance and polymorphism?


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

Post New Answer

More Core Java Interview Questions

What is jit compiler ?

0 Answers  


Why is static used?

0 Answers  


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

0 Answers   TCS,


What is a J2EE component? List out all the component?

2 Answers   Adobe,


what is the Arraylist limit (maximum) by default ?

13 Answers   Fidelity, PlanetSoft, Wipro,


What is the base class of all exception classes in java?

0 Answers  


What is a method header?

0 Answers  


How do you compare two objects?

0 Answers  


How to use scanner in java?

1 Answers  


What is the maximum size of byte array in java?

0 Answers  


Why do we need main method to execute a java program?

1 Answers   Virtusa,


I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }

4 Answers   Cap Gemini,


Categories