Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
ඔයාලගේ පොඩි business, freelance වැඩ, online shops හෝ services වලට agency වලට ලොකු ගණන් ගෙවන්නෙ නැතුව
thathsilura
Updated:
54 minutes ago
AWS Certified Solutions Architect-Associate + AWS Certified Cloud Practitioner
Sanjeewani95
Updated:
Aug 19, 2026
🚀 එක පැකේජ් එකයි - මාසෙටම Unlimited Internet! 🌐
sayuru bandara
Updated:
Aug 18, 2026
🎬 CapCut Pro 1 Month Access! LKR 600
sayuru bandara
Updated:
Aug 18, 2026
🚀 Google One AI PRO Plan (Gemini Pro Activation) – 18 Months Access! LKR 2200
sayuru bandara
Updated:
Aug 18, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
JAVA මුල සිට උගනිමු සින්හලෙන්..
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Gayan_BC" data-source="post: 13081845" data-attributes="member: 390099"><p><strong>Example 01</strong></p><p></p><p><strong><span style="font-size: 12px"><span style="color: Blue">class A{</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">class B{</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">public static void main(String[]args){</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">System.out.println("Welcome Elakiri_class B");</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">class C{</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p></p><p><strong>Example 02</strong></p><p></p><p></p><p><strong><span style="font-size: 12px"><span style="color: Blue">class A{</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">public static void main(String[]args){</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">System.out.println("Welcome Elakiri_class A");</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">class B{</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">class C{</span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue"></span></span></strong></p><p><strong><span style="font-size: 12px"><span style="color: Blue">}</span></span></strong></p><p></p><p></p><p><strong><span style="font-size: 10px"><span style="color: Red">menna mee widihata file hadala save karala run karnna..ethkota oyalata idea ekak ei main method eka saha eekata adala classes gana..<img src="/styles/default/xenforo/smilies/default/yes.gif" class="smilie" loading="lazy" alt=":yes:" title="Yes :yes:" data-shortname=":yes:" /><img src="/styles/default/xenforo/smilies/default/yes.gif" class="smilie" loading="lazy" alt=":yes:" title="Yes :yes:" data-shortname=":yes:" /><img src="/styles/default/xenforo/smilies/default/yes.gif" class="smilie" loading="lazy" alt=":yes:" title="Yes :yes:" data-shortname=":yes:" /></span></span></strong></p></blockquote><p></p>
[QUOTE="Gayan_BC, post: 13081845, member: 390099"] [B]Example 01[/B] [B][SIZE="3"][COLOR="Blue"]class A{ } class B{ public static void main(String[]args){ System.out.println("Welcome Elakiri_class B"); } } class C{ }[/COLOR][/SIZE][/B] [B]Example 02[/B] [B][SIZE="3"][COLOR="Blue"]class A{ public static void main(String[]args){ System.out.println("Welcome Elakiri_class A"); } } class B{ } class C{ }[/COLOR][/SIZE][/B] [B][SIZE="2"][COLOR="Red"]menna mee widihata file hadala save karala run karnna..ethkota oyalata idea ekak ei main method eka saha eekata adala classes gana..:yes::yes::yes:[/COLOR][/SIZE][/B] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom