What is the output of this program

Menu
  • Home
  • Language Fundamental
    • Identifiers
    • Reserved Words
    • Data Types
    • Literals
    • Variables
    • Var Arg Method
    • Main Method
    • Command Line Argument
  • OOPS
    • Enum
    • Inner Classes
    • Inheritance
    • Polymorphism
  • Exception Handling
  • Assertion
  • Multithreading
  • Serialization
  • Internationalization
  • Package
  • Collections
    • Array
    • Collection Framework
    • Generics
  • JVM Architecture
  • Contact

Var-Arg Method

- - 0 comments
Var-Arg Method


Can we call same method with different numbers of parameter?

How var-arg method is implemented internally?

Can we overload var-arg method with normal method?

Can we mix var-arg parameter with normal paramter?

Can we mix normal parameter with var-arg parameter?

Can we overload a method consisting 1-D array parameter with a method consisting var-arg parameter?

Can we replace 1-dimensional array with var-arg parameter?

Can we use simultaneously var-arg and 1-dimensional paramter in a method?

Which of the following var-arg method declarations are valid?

0 comments:

Home
Subscribe to: Posts (Atom)

Copyright © 2013 What is the output of this program

| Distributed By Altaf

Back to Top

Search

Follow us

Java Topics

  • Home

Programs List

  • Arrays
  • Command Line Argument
  • Data Types
  • Identifier
  • Literals
  • Main Method
  • Reserved words
  • Var-Arg Method
  • Variables

Search This Blog

  • ()
  • How many Reserved words/Keywords are available in Java?
    In Java, There are 53 reserved words are available to represent some meaning or functionality such type of words are called as reserved wo...
  • What is the output of this program?
    class DataType6 { public static void main(String[] args) { float f=5.5; System.out.println(f); } } /* Output:- CE[possible ...
  • Can we use instance variable before initializing?
    class Variable2 { int x; public static void main(String[] alt) { Variable2 v=new Variable2(); System.out.println(v.x); } } ...