Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #3554

Re: Compile error: java: <identifier> expected

Newsgroups comp.lang.java.help
Date 2015-08-28 10:17 -0700
References <29442c5a-69a2-451a-88f0-25a5e0b9937e@googlegroups.com>
Message-ID <6f75146e-88cf-47b2-b97f-3e51971a443c@googlegroups.com> (permalink)
Subject Re: Compile error: java: <identifier> expected
From rockz.world143@gmail.com

Show all headers | View raw


class MyClass
{ 
    public static void main(String[] args)
   { 
    Person p = new Person(); 
    p.sing(); 
    } 
} 

class Person 
    { 
        void sing() 
        { 
        System.out.println("la..la..la.."); 
         } 
     } 
class Professor 
     { 
         void singalong() 
         { 
           System.out.println("la..la..laaaaa..la.."); 
           } 
     }
    

NOW ITS OKAY

Back to comp.lang.java.help | Previous | Next | Find similar


Thread

Re: Compile error: java: <identifier> expected rockz.world143@gmail.com - 2015-08-28 10:17 -0700

csiph-web