What is a stringbuffer?


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

Post New Answer

More Core Java Interview Questions

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,


Is a boolean variable?

0 Answers  


What's the base class in java from which all classes are derived?

0 Answers  


Write a program to check for a prime number in java?

0 Answers   Cyient,


What is :: operator in java?

0 Answers  






What is local declaration?

0 Answers  


Can you override static method in java?

1 Answers  


What is difference between static variable and global variable?

0 Answers  


What are methods and how are they defined?

0 Answers  


What are extraneous variables examples?

0 Answers  


What is a java applet? What is an interface?

0 Answers  


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

2 Answers   HP, SparkTG,


Categories