How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.
4 9113Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
4 8164I 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 7599Post New Cap Gemini Core Java Interview Questions
What is mysql data directory? How to determine the location of the data directory?
What are few exceptions in android?
Is c# dictionary a hash table?
How can we find the sum of two linked lists using stack in java?
How do I use a third-party jdbc driver with jms? : BEA Weblogic
What are the variable types?
Explain the main differences between star and snowflake schema?
find 15% of 86.04=
What is the relationship between hardness and tensile strength?
What are the port numbers of job tracker?
What are the benefits of triggers?
What is metadata in java programming?
What is distributed application?
When should I use an java applet instead of ajax?
efficiency of diesel generator set:kwh x 3410 x 100/ fuel in ltrs x 0.87 x 2.2 x 19000. is it correct formula