package techyield; /** * @author satyanarayana gokavarapu * */ public class Test{ public static void main(String[] args) { // TODO Auto-generated method stub Test object = new Test(); int value=4; object.init(value,value); } void init( Long a,Long b) { System.out.println("Test class Long,Long method."); } void init(int... a) { System.out.println("Test class varargs method."); } }
Showing posts with label JAVA CODE SNIPPET-9. Show all posts
Showing posts with label JAVA CODE SNIPPET-9. Show all posts
JAVA CODE SNIPPET-9
Subscribe to:
Posts (Atom)
Featured Post
H1B Visa Stamping at US Consulate
H1B Visa Stamping at US Consulate If you are outside of the US, you need to apply for US Visa at a US Consulate or a US Embassy and get H1...
-
Ques 1 : Which declaration of the main method below would allow a class to be started as a standalone program. (A) public static int main(c...
-
1. Two Sum Two Sum Solution 2. LRU Cache LRU Cache Solution 3. Number Of Islands 4. Longest Palindromic Substring 5. Lowest...
-
basics Linux fundamentals like system calls , strace , linux mange memory, shared memory, kernel using, boot process, DNS resolving ( how t...