How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.
4 7914Scenario: 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 7089I 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 6141Post New Cap Gemini Core Java Interview Questions
Write a program to find whether a given number is prime or not.
What is commercial tax? and what comes under commercial tax? What are the Provisions relating to it?
What is restrict keyword in c?
Why are identifier names with a leading underscore disparaged?
Explain what is linking function and type of linking function?
What is the difference between 1d and 2d array?
How will you create interactive dashboards ?
How to check table is exists or not in our database using laravel?
What is bean in ejb?
'for the purpose of means' the same as?
What is a database connection string?
How did django come into existence?
How many instances can be created for an abstract class?
What is the default font used in ms word 2013 document?
Explain in detail about JDBC and its general features?