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

Main Method

- - 0 comments
Main Method


Is this a valid java program?

Can we interchange the modifiers used with main() method?

Can we overload main() method?

What is the output if we execute MainMethod4 class?

Can we override main() method?

Can we execute java program without main() method?

Which of the following valid main() method declarations?

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...
  • Which modifiers can be used with local variables?
    class Variable10 { public static void main(String[] alt) { public int x=10; System.out.println(x); } } /* Output:- CE[...
  • 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 ...