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: Comments (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

  • ()
  • What is the output of this program?
    class Variable9 { public static void main(String[] alt) { int i=10; int j; if(i==10) j=20; else j=30; ...
  • What is the range of short data type?
    class DataType4 { public static void main(String[] args) { short s=32768; System.out.println(s); } } /* Output:- CE[possibl...
  • What is the output of this program?
    class Variable5 { static int x=10; int y=20; public static void main(String[] alt) { Variable5 v1=new Variable5(); v1....