How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.
4 8796Scenario: 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 7867I 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 7313Post New Cap Gemini Core Java Interview Questions
Who command in linux?
What is an effective means of removing silicon from aluminum?
What is a fairness opinion?
What is an immutable object? How can it help in writing a concurrent application?
How do you insert a template in word?
Define APT_CONFIG in Datastage?
How do you use equal in java?
Explain all the file processing modes supported by python?
What is difference between radial vibration and axial vibration explain in detail .
Using excel is there a way to close all open excel files at once instead of closing them one at a time?
Write a program using linq to find the sum of first 5 prime numbers?
Name of the companies listed in sensex ?
What are windows azure diagnostics?
Can you explain what is sql server english query?
What are all stats classes in the org.apache.pig.tools.pigstats package?