How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.
4 8760Scenario: 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 7844I 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 7268Post New Cap Gemini Core Java Interview Questions
how can we determine size of a cable by knowing the kw or current rating of a load?how can we calculate the resistance box of a slip ring motor?
When group by is used, how to write or use the where clause in soql ?
What problem does Delegate Solve?
What is case class? What is case object? What are the Advantages of case class?
What are different types of constants?
What is the difference between factory and abstract factory design pattern?
What is the journal entry of building rent and TDs payment?
How to create single selected listbox?
Explain a situation where finally block will not be executed?
What are the sticky keys on a laptop?
Why extending array is bad idea?
What is the shortcut to insert a row in excel 2007?
What is a ruby singleton method ?
What is the use of bundle conductors?
What is google presentation?