Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
Fails to compile ?
Angela Narain
Ranch Hand
Posts: 327
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
public class Q28fd {
static int i = 0;
class Inner{
System.out.println(" From outer ");
}
}
Rashmi Tambe
Ranch Hand
Posts: 418
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hey Angela,
How can u write a println stmt or any stmt in class body directly? It'll never compile!!! Put a method nad then a stmt inside it
Raashmi
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Reg. Inner classes
Extending inner class.
Khalid's Mock Test.
Labeeled Problem
More...